@multiplatform.one/keycloak 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/lib/@types/coreJsPure.d.d.mts +2 -0
- package/lib/@types/expoKeycloakAuth.d.d.mts +25 -0
- package/lib/@types/expoKeycloakAuth.d.d.ts +16 -19
- package/lib/Authenticated.d.mts +33 -0
- package/lib/Authenticated.d.ts +4 -7
- package/lib/Authenticated.js +6 -6
- package/lib/Authenticated.mjs +4 -4
- package/lib/authConfig.d.mts +14 -0
- package/lib/authConfig.d.ts +0 -23
- package/lib/authConfig.js +1 -1
- package/lib/authConfig.mjs +1 -1
- package/lib/{chunk-JYEIPNPN.mjs → chunk-AOKVCTMY.mjs} +1 -1
- package/lib/{chunk-73FF4BX7.js → chunk-BJ2OPIMW.js} +4 -4
- package/lib/{chunk-QFP2JWHZ.js → chunk-BTCP7NB3.js} +3 -3
- package/lib/{chunk-DJW5IKQS.mjs → chunk-DKRUDENY.mjs} +1 -1
- package/lib/{chunk-S3M2DZ6G.js → chunk-E2X33LSD.js} +2 -2
- package/lib/{chunk-RTZ3CZKS.js → chunk-FXGWERIA.js} +2 -2
- package/lib/{chunk-NRD376XV.js → chunk-HDNHCVXT.js} +2 -2
- package/lib/{chunk-BTHRDOLL.mjs → chunk-NU2SJ3ST.mjs} +1 -1
- package/lib/{chunk-K2MQYDVB.mjs → chunk-SK4YK6KE.mjs} +1 -1
- package/lib/{chunk-JLIMB5OD.js → chunk-UBCNCE73.js} +2 -2
- package/lib/{chunk-6QZDLO3M.mjs → chunk-VLUTEDDM.mjs} +1 -1
- package/lib/{chunk-CLO6HIJN.mjs → chunk-ZVG3OFME.mjs} +2 -2
- package/lib/hooks/index.d.mts +9 -0
- package/lib/hooks/index.js +6 -6
- package/lib/hooks/index.mjs +3 -3
- package/lib/hooks/useAuthConfig.d.mts +6 -0
- package/lib/hooks/useAuthConfig.d.ts +0 -23
- package/lib/hooks/useAuthConfig.js +1 -1
- package/lib/hooks/useAuthConfig.mjs +1 -1
- package/lib/hooks/useCurrentRouteName/index.d.mts +3 -0
- package/lib/hooks/useCurrentRouteName/index.d.ts +0 -23
- package/lib/hooks/useCurrentRouteName/index.js +1 -1
- package/lib/hooks/useCurrentRouteName/index.mjs +1 -1
- package/lib/hooks/useCurrentRouteName/index.native.d.mts +3 -0
- package/lib/hooks/useCurrentRouteName/index.native.d.ts +0 -23
- package/lib/hooks/useCurrentRouteName/index.native.js +1 -1
- package/lib/hooks/useCurrentRouteName/index.native.mjs +1 -1
- package/lib/hooks/useKeycloak/index.d.mts +46 -0
- package/lib/hooks/useKeycloak/index.d.ts +0 -24
- package/lib/hooks/useKeycloak/index.js +4 -4
- package/lib/hooks/useKeycloak/index.mjs +2 -2
- package/lib/hooks/useKeycloak/useKeycloak.d.mts +2 -0
- package/lib/hooks/useKeycloak/useKeycloak.js +4 -4
- package/lib/hooks/useKeycloak/useKeycloak.mjs +2 -2
- package/lib/hooks/useKeycloak/useKeycloak.native.d.mts +20 -0
- package/lib/hooks/useKeycloak/useKeycloak.native.d.ts +0 -24
- package/lib/hooks/useKeycloak/useKeycloak.native.js +8 -8
- package/lib/hooks/useKeycloak/useKeycloak.native.mjs +1 -1
- package/lib/hooks/useLogin.d.mts +3 -0
- package/lib/hooks/useLogin.d.ts +0 -23
- package/lib/hooks/useLogin.js +4 -4
- package/lib/hooks/useLogin.mjs +3 -3
- package/lib/hooks/useTokensFromQuery/index.d.mts +3 -0
- package/lib/hooks/useTokensFromQuery/index.d.ts +0 -23
- package/lib/hooks/useTokensFromQuery/index.js +1 -1
- package/lib/hooks/useTokensFromQuery/index.mjs +1 -1
- package/lib/hooks/useTokensFromQuery/index.native.d.mts +3 -0
- package/lib/hooks/useTokensFromQuery/index.native.d.ts +0 -23
- package/lib/hooks/useTokensFromQuery/index.native.js +1 -1
- package/lib/hooks/useTokensFromQuery/index.native.mjs +1 -1
- package/lib/hooks/useTokensFromState.d.mts +3 -0
- package/lib/hooks/useTokensFromState.d.ts +0 -23
- package/lib/hooks/useTokensFromState.js +1 -1
- package/lib/hooks/useTokensFromState.mjs +1 -1
- package/lib/index.d.mts +13 -0
- package/lib/index.js +15 -15
- package/lib/index.mjs +7 -7
- package/lib/provider/afterAuth.d.mts +29 -0
- package/lib/provider/afterAuth.d.ts +4 -7
- package/lib/provider/afterAuth.js +5 -5
- package/lib/provider/afterAuth.mjs +4 -4
- package/lib/provider/index.d.mts +39 -0
- package/lib/provider/index.d.ts +4 -7
- package/lib/provider/index.js +9 -9
- package/lib/provider/index.mjs +6 -6
- package/lib/provider/keycloakProvider.d.mts +42 -0
- package/lib/provider/keycloakProvider.d.ts +4 -7
- package/lib/provider/keycloakProvider.js +7 -7
- package/lib/provider/keycloakProvider.mjs +5 -5
- package/lib/provider/keycloakProvider.native.d.mts +29 -0
- package/lib/provider/keycloakProvider.native.d.ts +4 -7
- package/lib/provider/keycloakProvider.native.js +5 -5
- package/lib/provider/keycloakProvider.native.mjs +4 -4
- package/lib/state/index.d.mts +11 -0
- package/lib/state/index.d.ts +0 -23
- package/lib/state/index.js +1 -1
- package/lib/state/index.mjs +1 -1
- package/lib/types.d.mts +17 -0
- package/lib/types.d.ts +0 -23
- package/lib/types.js +1 -1
- package/lib/types.mjs +1 -1
- package/lib/util.d.mts +4 -0
- package/lib/util.d.ts +0 -23
- package/lib/util.js +1 -1
- package/lib/util.mjs +1 -1
- package/package.json +21 -37
- package/src/@types/coreJsPure.d.ts +16 -19
- package/src/@types/expoKeycloakAuth.d.ts +16 -19
- package/src/Authenticated.tsx +4 -7
- package/src/authConfig.ts +16 -19
- package/src/hooks/index.ts +16 -19
- package/src/hooks/useAuthConfig.ts +16 -19
- package/src/hooks/useCurrentRouteName/index.native.ts +16 -19
- package/src/hooks/useCurrentRouteName/index.ts +16 -19
- package/src/hooks/useKeycloak/index.ts +16 -19
- package/src/hooks/useKeycloak/useKeycloak.native.ts +16 -19
- package/src/hooks/useKeycloak/useKeycloak.ts +16 -19
- package/src/hooks/useLogin.ts +16 -19
- package/src/hooks/useTokensFromQuery/index.native.ts +16 -19
- package/src/hooks/useTokensFromQuery/index.ts +16 -19
- package/src/hooks/useTokensFromState.ts +16 -19
- package/src/index.ts +16 -19
- package/src/provider/afterAuth.tsx +4 -7
- package/src/provider/index.tsx +4 -7
- package/src/provider/keycloakProvider.native.tsx +4 -7
- package/src/provider/keycloakProvider.tsx +4 -7
- package/src/state/index.ts +16 -19
- package/src/types.ts +16 -19
- package/src/util.ts +16 -19
- package/README.md +0 -3
- /package/lib/{chunk-XXPGZHWZ.js → chunk-KMAXXKJT.js} +0 -0
- /package/lib/{chunk-NHABU752.mjs → chunk-S237YNYQ.mjs} +0 -0
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2021 - 2022
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/hooks/useKeycloak/useKeycloak.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
import type { IKeycloak } from './index';
|
package/src/hooks/useLogin.ts
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2021 - 2022
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/hooks/useLogin.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
import { MultiPlatform } from 'multiplatform.one';
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2022 - 2023
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/hooks/useTokensFromQuery/index.native.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
export const useTokensFromQuery = () => false;
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2022 - 2023
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/hooks/useTokensFromQuery/index.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
import { MultiPlatform } from 'multiplatform.one';
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2022 - 2023
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/hooks/useTokensFromState.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
import { useAuthState } from '../state';
|
package/src/index.ts
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2022
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/index.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
export * from './Authenticated';
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* File: /
|
|
3
|
-
* Project:
|
|
4
|
-
* File Created: 22-
|
|
2
|
+
* File: /src/provider/afterAuth.tsx
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
5
|
* Author: Clay Risser
|
|
6
6
|
* -----
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2021 - 2022
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
9
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
10
|
* you may not use this file except in compliance with the License.
|
package/src/provider/index.tsx
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* File: /
|
|
3
|
-
* Project:
|
|
4
|
-
* File Created:
|
|
2
|
+
* File: /src/provider/index.tsx
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
5
|
* Author: Clay Risser
|
|
6
6
|
* -----
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2021 - 2022
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
9
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
10
|
* you may not use this file except in compliance with the License.
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* File: /
|
|
3
|
-
* Project:
|
|
4
|
-
* File Created:
|
|
2
|
+
* File: /src/provider/keycloakProvider.native.tsx
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
5
|
* Author: Clay Risser
|
|
6
6
|
* -----
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2021 - 2022
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
9
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
10
|
* you may not use this file except in compliance with the License.
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* File: /
|
|
3
|
-
* Project:
|
|
4
|
-
* File Created:
|
|
2
|
+
* File: /src/provider/keycloakProvider.tsx
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
5
|
* Author: Clay Risser
|
|
6
6
|
* -----
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2021 - 2022
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
9
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
10
|
* you may not use this file except in compliance with the License.
|
package/src/state/index.ts
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2021 - 2022
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/state/index.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
import { createStateStore } from 'multiplatform.one/zustand';
|
package/src/types.ts
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2022
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/types.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
declare global {
|
package/src/util.ts
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Modified By: Clay Risser
|
|
9
|
-
* -----
|
|
10
|
-
* Risser Labs LLC (c) Copyright 2022 - 2023
|
|
1
|
+
/*
|
|
2
|
+
* File: /src/util.ts
|
|
3
|
+
* Project: @multiplatform.one/keycloak
|
|
4
|
+
* File Created: 22-06-2023 10:07:56
|
|
5
|
+
* Author: Clay Risser
|
|
6
|
+
* -----
|
|
7
|
+
* BitSpur (c) Copyright 2021 - 2023
|
|
11
8
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
* you may not use this file except in compliance with the License.
|
|
11
|
+
* You may obtain a copy of the License at
|
|
15
12
|
*
|
|
16
|
-
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
14
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
23
20
|
*/
|
|
24
21
|
|
|
25
22
|
export function validToken(token: string | boolean, refreshToken?: string | boolean) {
|
package/README.md
DELETED
|
File without changes
|
|
File without changes
|