@multiplatform.one/keycloak 1.0.2 → 1.0.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/package.json +32 -34
- package/routes/index.d.ts +1 -1
- package/routes/index.js +1 -1
- package/src/Authenticated.tsx +12 -13
- package/src/apollo.ts +1 -1
- package/src/authConfig.ts +2 -0
- package/src/hooks/useTokensFromQuery/index.ts +2 -0
- package/src/hooks/useTokensFromState.ts +2 -2
- package/{lib/@types/expoKeycloakAuth.d.d.mts → src/keycloak/config.ts} +17 -6
- package/src/keycloak/context.ts +3 -1
- package/src/keycloak/index.ts +1 -0
- package/src/keycloak/keycloak.native.ts +49 -15
- package/src/keycloak/keycloak.ts +66 -11
- package/src/provider/AfterAuth.tsx +2 -0
- package/src/provider/AuthProvider/AuthProvider.native.tsx +167 -6
- package/src/provider/AuthProvider/AuthProvider.tsx +66 -43
- package/src/provider/KeycloakProvider.tsx +12 -2
- package/src/routes.ts +19 -0
- package/src/session/session.ts +4 -15
- package/src/token.ts +13 -5
- package/lib/@types/expoKeycloakAuth.d.d.ts +0 -25
- package/lib/@types/expoKeycloakAuth.d.js +0 -1
- package/lib/@types/expoKeycloakAuth.d.mjs +0 -0
- package/lib/Authenticated.d.mts +0 -32
- package/lib/Authenticated.d.ts +0 -32
- package/lib/Authenticated.js +0 -20
- package/lib/Authenticated.mjs +0 -20
- package/lib/apollo.d.mts +0 -7
- package/lib/apollo.d.ts +0 -7
- package/lib/apollo.js +0 -15
- package/lib/apollo.mjs +0 -15
- package/lib/authConfig.d.mts +0 -12
- package/lib/authConfig.d.ts +0 -12
- package/lib/authConfig.js +0 -9
- package/lib/authConfig.mjs +0 -9
- package/lib/chunk-2L5TXBDK.mjs +0 -7
- package/lib/chunk-2MYOFYAK.mjs +0 -53
- package/lib/chunk-2VDDEPLF.js +0 -27
- package/lib/chunk-2VGMJ7WP.js +0 -34
- package/lib/chunk-32AVT4GA.js +0 -9
- package/lib/chunk-3ZTSLDX7.js +0 -13
- package/lib/chunk-6APOOEW6.js +0 -28
- package/lib/chunk-6F4PWJZI.js +0 -1
- package/lib/chunk-6FRYV4MK.mjs +0 -27
- package/lib/chunk-6WBHOY7M.js +0 -50
- package/lib/chunk-74FSREBY.js +0 -161
- package/lib/chunk-A2V2S4HP.js +0 -22
- package/lib/chunk-BUZONXAW.js +0 -1
- package/lib/chunk-C6TOWKPW.mjs +0 -245
- package/lib/chunk-DNEUOHZQ.mjs +0 -28
- package/lib/chunk-EGCPD3BX.js +0 -51
- package/lib/chunk-HH32BME2.mjs +0 -0
- package/lib/chunk-HTWZLBA4.mjs +0 -13
- package/lib/chunk-I5FNGKQ6.js +0 -16
- package/lib/chunk-IGSEESI3.mjs +0 -51
- package/lib/chunk-JAFUI2JQ.mjs +0 -9
- package/lib/chunk-JPQI72HR.mjs +0 -0
- package/lib/chunk-KWNIT4G4.mjs +0 -34
- package/lib/chunk-L3HTVJ4B.mjs +0 -13
- package/lib/chunk-MDAAMGTE.js +0 -1
- package/lib/chunk-NQMFZ6RW.mjs +0 -50
- package/lib/chunk-OAUYHIWG.mjs +0 -0
- package/lib/chunk-OBB23GPX.mjs +0 -0
- package/lib/chunk-OYWXU5N7.mjs +0 -161
- package/lib/chunk-P57PW2II.js +0 -11
- package/lib/chunk-TUJRPTZE.js +0 -13
- package/lib/chunk-UESWAK47.mjs +0 -0
- package/lib/chunk-UKSHA3X3.mjs +0 -16
- package/lib/chunk-VS4M7GMO.js +0 -1
- package/lib/chunk-W4LGQZMF.js +0 -245
- package/lib/chunk-WBQAMGXK.mjs +0 -0
- package/lib/chunk-WMH347OL.mjs +0 -22
- package/lib/chunk-WS4IMGVL.js +0 -1
- package/lib/chunk-YACGLW5Q.js +0 -7
- package/lib/chunk-YYYDFAI4.js +0 -53
- package/lib/chunk-ZCBD6HWK.js +0 -1
- package/lib/chunk-ZFXKCRJC.mjs +0 -11
- package/lib/hooks/index.d.mts +0 -5
- package/lib/hooks/index.d.ts +0 -5
- package/lib/hooks/index.js +0 -19
- package/lib/hooks/index.mjs +0 -19
- package/lib/hooks/useAuthConfig.d.mts +0 -6
- package/lib/hooks/useAuthConfig.d.ts +0 -6
- package/lib/hooks/useAuthConfig.js +0 -8
- package/lib/hooks/useAuthConfig.mjs +0 -8
- package/lib/hooks/useTokensFromQuery/index.d.mts +0 -3
- package/lib/hooks/useTokensFromQuery/index.d.ts +0 -3
- package/lib/hooks/useTokensFromQuery/index.js +0 -7
- package/lib/hooks/useTokensFromQuery/index.mjs +0 -7
- package/lib/hooks/useTokensFromQuery/index.native.d.mts +0 -3
- package/lib/hooks/useTokensFromQuery/index.native.d.ts +0 -3
- package/lib/hooks/useTokensFromQuery/index.native.js +0 -7
- package/lib/hooks/useTokensFromQuery/index.native.mjs +0 -7
- package/lib/hooks/useTokensFromState.d.mts +0 -3
- package/lib/hooks/useTokensFromState.d.ts +0 -3
- package/lib/hooks/useTokensFromState.js +0 -9
- package/lib/hooks/useTokensFromState.mjs +0 -9
- package/lib/index.d.mts +0 -18
- package/lib/index.d.ts +0 -18
- package/lib/index.js +0 -70
- package/lib/index.mjs +0 -70
- package/lib/keycloak/context.d.mts +0 -12
- package/lib/keycloak/context.d.ts +0 -12
- package/lib/keycloak/context.js +0 -7
- package/lib/keycloak/context.mjs +0 -7
- package/lib/keycloak/index.d.mts +0 -7
- package/lib/keycloak/index.d.ts +0 -7
- package/lib/keycloak/index.js +0 -14
- package/lib/keycloak/index.mjs +0 -14
- package/lib/keycloak/keycloak.d.mts +0 -37
- package/lib/keycloak/keycloak.d.ts +0 -37
- package/lib/keycloak/keycloak.js +0 -13
- package/lib/keycloak/keycloak.mjs +0 -13
- package/lib/keycloak/keycloak.native.d.mts +0 -33
- package/lib/keycloak/keycloak.native.d.ts +0 -33
- package/lib/keycloak/keycloak.native.js +0 -134
- package/lib/keycloak/keycloak.native.mjs +0 -134
- package/lib/provider/AfterAuth.d.mts +0 -28
- package/lib/provider/AfterAuth.d.ts +0 -28
- package/lib/provider/AfterAuth.js +0 -18
- package/lib/provider/AfterAuth.mjs +0 -18
- package/lib/provider/AuthProvider/AuthProvider.d.mts +0 -37
- package/lib/provider/AuthProvider/AuthProvider.d.ts +0 -37
- package/lib/provider/AuthProvider/AuthProvider.js +0 -19
- package/lib/provider/AuthProvider/AuthProvider.mjs +0 -19
- package/lib/provider/AuthProvider/AuthProvider.native.d.mts +0 -29
- package/lib/provider/AuthProvider/AuthProvider.native.d.ts +0 -29
- package/lib/provider/AuthProvider/AuthProvider.native.js +0 -25
- package/lib/provider/AuthProvider/AuthProvider.native.mjs +0 -25
- package/lib/provider/AuthProvider/index.d.mts +0 -4
- package/lib/provider/AuthProvider/index.d.ts +0 -4
- package/lib/provider/AuthProvider/index.js +0 -20
- package/lib/provider/AuthProvider/index.mjs +0 -20
- package/lib/provider/KeycloakProvider.d.mts +0 -34
- package/lib/provider/KeycloakProvider.d.ts +0 -34
- package/lib/provider/KeycloakProvider.js +0 -21
- package/lib/provider/KeycloakProvider.mjs +0 -21
- package/lib/provider/index.d.mts +0 -8
- package/lib/provider/index.d.ts +0 -8
- package/lib/provider/index.js +0 -28
- package/lib/provider/index.mjs +0 -28
- package/lib/routes.d.mts +0 -34
- package/lib/routes.d.ts +0 -34
- package/lib/routes.js +0 -131
- package/lib/routes.mjs +0 -131
- package/lib/session/index.d.mts +0 -3
- package/lib/session/index.d.ts +0 -3
- package/lib/session/index.js +0 -10
- package/lib/session/index.mjs +0 -10
- package/lib/session/session.d.mts +0 -18
- package/lib/session/session.d.ts +0 -18
- package/lib/session/session.js +0 -9
- package/lib/session/session.mjs +0 -9
- package/lib/session/session.native.d.mts +0 -8
- package/lib/session/session.native.d.ts +0 -8
- package/lib/session/session.native.js +0 -13
- package/lib/session/session.native.mjs +0 -13
- package/lib/state.d.mts +0 -12
- package/lib/state.d.ts +0 -12
- package/lib/state.js +0 -9
- package/lib/state.mjs +0 -9
- package/lib/token.d.mts +0 -17
- package/lib/token.d.ts +0 -17
- package/lib/token.js +0 -9
- package/lib/token.mjs +0 -9
- package/lib/types.d.mts +0 -20
- package/lib/types.d.ts +0 -20
- package/lib/types.js +0 -1
- package/lib/types.mjs +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React__default, { PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* File: /src/provider/AfterAuth.tsx
|
|
5
|
-
* Project: @multiplatform.one/keycloak
|
|
6
|
-
* File Created: 10-01-2024 12:41:33
|
|
7
|
-
* Author: Clay Risser
|
|
8
|
-
* -----
|
|
9
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
10
|
-
*
|
|
11
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
interface AfterAuthProps extends PropsWithChildren {
|
|
25
|
-
}
|
|
26
|
-
declare function AfterAuth({ children }: AfterAuthProps): React__default.JSX.Element;
|
|
27
|
-
|
|
28
|
-
export { AfterAuth, type AfterAuthProps };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React__default, { PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* File: /src/provider/AfterAuth.tsx
|
|
5
|
-
* Project: @multiplatform.one/keycloak
|
|
6
|
-
* File Created: 10-01-2024 12:41:33
|
|
7
|
-
* Author: Clay Risser
|
|
8
|
-
* -----
|
|
9
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
10
|
-
*
|
|
11
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
interface AfterAuthProps extends PropsWithChildren {
|
|
25
|
-
}
|
|
26
|
-
declare function AfterAuth({ children }: AfterAuthProps): React__default.JSX.Element;
|
|
27
|
-
|
|
28
|
-
export { AfterAuth, type AfterAuthProps };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkEGCPD3BXjs = require('../chunk-EGCPD3BX.js');
|
|
4
|
-
require('../chunk-ZCBD6HWK.js');
|
|
5
|
-
require('../chunk-TUJRPTZE.js');
|
|
6
|
-
require('../chunk-3ZTSLDX7.js');
|
|
7
|
-
require('../chunk-I5FNGKQ6.js');
|
|
8
|
-
require('../chunk-VS4M7GMO.js');
|
|
9
|
-
require('../chunk-74FSREBY.js');
|
|
10
|
-
require('../chunk-YACGLW5Q.js');
|
|
11
|
-
require('../chunk-2VGMJ7WP.js');
|
|
12
|
-
require('../chunk-32AVT4GA.js');
|
|
13
|
-
require('../chunk-A2V2S4HP.js');
|
|
14
|
-
require('../chunk-2VDDEPLF.js');
|
|
15
|
-
require('../chunk-P57PW2II.js');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.AfterAuth = _chunkEGCPD3BXjs.AfterAuth;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AfterAuth
|
|
3
|
-
} from "../chunk-IGSEESI3.mjs";
|
|
4
|
-
import "../chunk-HH32BME2.mjs";
|
|
5
|
-
import "../chunk-L3HTVJ4B.mjs";
|
|
6
|
-
import "../chunk-HTWZLBA4.mjs";
|
|
7
|
-
import "../chunk-UKSHA3X3.mjs";
|
|
8
|
-
import "../chunk-OBB23GPX.mjs";
|
|
9
|
-
import "../chunk-OYWXU5N7.mjs";
|
|
10
|
-
import "../chunk-2L5TXBDK.mjs";
|
|
11
|
-
import "../chunk-KWNIT4G4.mjs";
|
|
12
|
-
import "../chunk-JAFUI2JQ.mjs";
|
|
13
|
-
import "../chunk-WMH347OL.mjs";
|
|
14
|
-
import "../chunk-6FRYV4MK.mjs";
|
|
15
|
-
import "../chunk-ZFXKCRJC.mjs";
|
|
16
|
-
export {
|
|
17
|
-
AfterAuth
|
|
18
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React__default, { PropsWithChildren } from 'react';
|
|
2
|
-
import { KeycloakConfig, KeycloakInitOptions } from 'keycloak-js';
|
|
3
|
-
import { SessionProviderProps } from 'next-auth/react';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* File: /src/provider/AuthProvider/AuthProvider.tsx
|
|
7
|
-
* Project: @multiplatform.one/keycloak
|
|
8
|
-
* File Created: 09-01-2024 11:29:20
|
|
9
|
-
* Author: Clay Risser
|
|
10
|
-
* -----
|
|
11
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
12
|
-
*
|
|
13
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
14
|
-
* you may not use this file except in compliance with the License.
|
|
15
|
-
* You may obtain a copy of the License at
|
|
16
|
-
*
|
|
17
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
20
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
21
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
22
|
-
* See the License for the specific language governing permissions and
|
|
23
|
-
* limitations under the License.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
interface AuthProviderProps extends PropsWithChildren {
|
|
27
|
-
keycloakConfig?: KeycloakConfig;
|
|
28
|
-
keycloakInitOptions?: KeycloakInitOptions;
|
|
29
|
-
sessionProvider?: Omit<SessionProviderProps, 'children'>;
|
|
30
|
-
}
|
|
31
|
-
declare function AuthProvider({ children, sessionProvider, keycloakInitOptions, keycloakConfig }: AuthProviderProps): React__default.JSX.Element;
|
|
32
|
-
interface MessageSchema {
|
|
33
|
-
type: string;
|
|
34
|
-
payload?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { AuthProvider, type AuthProviderProps, type MessageSchema };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React__default, { PropsWithChildren } from 'react';
|
|
2
|
-
import { KeycloakConfig, KeycloakInitOptions } from 'keycloak-js';
|
|
3
|
-
import { SessionProviderProps } from 'next-auth/react';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* File: /src/provider/AuthProvider/AuthProvider.tsx
|
|
7
|
-
* Project: @multiplatform.one/keycloak
|
|
8
|
-
* File Created: 09-01-2024 11:29:20
|
|
9
|
-
* Author: Clay Risser
|
|
10
|
-
* -----
|
|
11
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
12
|
-
*
|
|
13
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
14
|
-
* you may not use this file except in compliance with the License.
|
|
15
|
-
* You may obtain a copy of the License at
|
|
16
|
-
*
|
|
17
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
20
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
21
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
22
|
-
* See the License for the specific language governing permissions and
|
|
23
|
-
* limitations under the License.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
interface AuthProviderProps extends PropsWithChildren {
|
|
27
|
-
keycloakConfig?: KeycloakConfig;
|
|
28
|
-
keycloakInitOptions?: KeycloakInitOptions;
|
|
29
|
-
sessionProvider?: Omit<SessionProviderProps, 'children'>;
|
|
30
|
-
}
|
|
31
|
-
declare function AuthProvider({ children, sessionProvider, keycloakInitOptions, keycloakConfig }: AuthProviderProps): React__default.JSX.Element;
|
|
32
|
-
interface MessageSchema {
|
|
33
|
-
type: string;
|
|
34
|
-
payload?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { AuthProvider, type AuthProviderProps, type MessageSchema };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkW4LGQZMFjs = require('../../chunk-W4LGQZMF.js');
|
|
4
|
-
require('../../chunk-EGCPD3BX.js');
|
|
5
|
-
require('../../chunk-ZCBD6HWK.js');
|
|
6
|
-
require('../../chunk-TUJRPTZE.js');
|
|
7
|
-
require('../../chunk-3ZTSLDX7.js');
|
|
8
|
-
require('../../chunk-I5FNGKQ6.js');
|
|
9
|
-
require('../../chunk-VS4M7GMO.js');
|
|
10
|
-
require('../../chunk-74FSREBY.js');
|
|
11
|
-
require('../../chunk-YACGLW5Q.js');
|
|
12
|
-
require('../../chunk-2VGMJ7WP.js');
|
|
13
|
-
require('../../chunk-32AVT4GA.js');
|
|
14
|
-
require('../../chunk-A2V2S4HP.js');
|
|
15
|
-
require('../../chunk-2VDDEPLF.js');
|
|
16
|
-
require('../../chunk-P57PW2II.js');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
exports.AuthProvider = _chunkW4LGQZMFjs.AuthProvider;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AuthProvider
|
|
3
|
-
} from "../../chunk-C6TOWKPW.mjs";
|
|
4
|
-
import "../../chunk-IGSEESI3.mjs";
|
|
5
|
-
import "../../chunk-HH32BME2.mjs";
|
|
6
|
-
import "../../chunk-L3HTVJ4B.mjs";
|
|
7
|
-
import "../../chunk-HTWZLBA4.mjs";
|
|
8
|
-
import "../../chunk-UKSHA3X3.mjs";
|
|
9
|
-
import "../../chunk-OBB23GPX.mjs";
|
|
10
|
-
import "../../chunk-OYWXU5N7.mjs";
|
|
11
|
-
import "../../chunk-2L5TXBDK.mjs";
|
|
12
|
-
import "../../chunk-KWNIT4G4.mjs";
|
|
13
|
-
import "../../chunk-JAFUI2JQ.mjs";
|
|
14
|
-
import "../../chunk-WMH347OL.mjs";
|
|
15
|
-
import "../../chunk-6FRYV4MK.mjs";
|
|
16
|
-
import "../../chunk-ZFXKCRJC.mjs";
|
|
17
|
-
export {
|
|
18
|
-
AuthProvider
|
|
19
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { AuthProviderProps } from './AuthProvider.mjs';
|
|
3
|
-
import 'keycloak-js';
|
|
4
|
-
import 'next-auth/react';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* File: /src/provider/AuthProvider/AuthProvider.native.tsx
|
|
8
|
-
* Project: @multiplatform.one/keycloak
|
|
9
|
-
* File Created: 09-01-2024 11:29:20
|
|
10
|
-
* Author: Clay Risser
|
|
11
|
-
* -----
|
|
12
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
13
|
-
*
|
|
14
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
15
|
-
* you may not use this file except in compliance with the License.
|
|
16
|
-
* You may obtain a copy of the License at
|
|
17
|
-
*
|
|
18
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
19
|
-
*
|
|
20
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
21
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
22
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
23
|
-
* See the License for the specific language governing permissions and
|
|
24
|
-
* limitations under the License.
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
declare function AuthProvider({ children, keycloakConfig }: AuthProviderProps): React__default.JSX.Element;
|
|
28
|
-
|
|
29
|
-
export { AuthProvider };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { AuthProviderProps } from './AuthProvider.js';
|
|
3
|
-
import 'keycloak-js';
|
|
4
|
-
import 'next-auth/react';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* File: /src/provider/AuthProvider/AuthProvider.native.tsx
|
|
8
|
-
* Project: @multiplatform.one/keycloak
|
|
9
|
-
* File Created: 09-01-2024 11:29:20
|
|
10
|
-
* Author: Clay Risser
|
|
11
|
-
* -----
|
|
12
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
13
|
-
*
|
|
14
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
15
|
-
* you may not use this file except in compliance with the License.
|
|
16
|
-
* You may obtain a copy of the License at
|
|
17
|
-
*
|
|
18
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
19
|
-
*
|
|
20
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
21
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
22
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
23
|
-
* See the License for the specific language governing permissions and
|
|
24
|
-
* limitations under the License.
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
declare function AuthProvider({ children, keycloakConfig }: AuthProviderProps): React__default.JSX.Element;
|
|
28
|
-
|
|
29
|
-
export { AuthProvider };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
-
|
|
3
|
-
var _chunkEGCPD3BXjs = require('../../chunk-EGCPD3BX.js');
|
|
4
|
-
require('../../chunk-ZCBD6HWK.js');
|
|
5
|
-
require('../../chunk-TUJRPTZE.js');
|
|
6
|
-
require('../../chunk-3ZTSLDX7.js');
|
|
7
|
-
require('../../chunk-I5FNGKQ6.js');
|
|
8
|
-
require('../../chunk-VS4M7GMO.js');
|
|
9
|
-
require('../../chunk-74FSREBY.js');
|
|
10
|
-
require('../../chunk-YACGLW5Q.js');
|
|
11
|
-
require('../../chunk-2VGMJ7WP.js');
|
|
12
|
-
require('../../chunk-32AVT4GA.js');
|
|
13
|
-
require('../../chunk-A2V2S4HP.js');
|
|
14
|
-
require('../../chunk-2VDDEPLF.js');
|
|
15
|
-
require('../../chunk-P57PW2II.js');
|
|
16
|
-
|
|
17
|
-
// src/provider/AuthProvider/AuthProvider.native.tsx
|
|
18
|
-
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
19
|
-
var _expokeycloakauth = require('expo-keycloak-auth');
|
|
20
|
-
function AuthProvider({ children, keycloakConfig }) {
|
|
21
|
-
return /* @__PURE__ */ _react2.default.createElement(_expokeycloakauth.KeycloakProvider, { ...keycloakConfig }, /* @__PURE__ */ _react2.default.createElement(_chunkEGCPD3BXjs.AfterAuth, null, children));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
exports.AuthProvider = AuthProvider;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AfterAuth
|
|
3
|
-
} from "../../chunk-IGSEESI3.mjs";
|
|
4
|
-
import "../../chunk-HH32BME2.mjs";
|
|
5
|
-
import "../../chunk-L3HTVJ4B.mjs";
|
|
6
|
-
import "../../chunk-HTWZLBA4.mjs";
|
|
7
|
-
import "../../chunk-UKSHA3X3.mjs";
|
|
8
|
-
import "../../chunk-OBB23GPX.mjs";
|
|
9
|
-
import "../../chunk-OYWXU5N7.mjs";
|
|
10
|
-
import "../../chunk-2L5TXBDK.mjs";
|
|
11
|
-
import "../../chunk-KWNIT4G4.mjs";
|
|
12
|
-
import "../../chunk-JAFUI2JQ.mjs";
|
|
13
|
-
import "../../chunk-WMH347OL.mjs";
|
|
14
|
-
import "../../chunk-6FRYV4MK.mjs";
|
|
15
|
-
import "../../chunk-ZFXKCRJC.mjs";
|
|
16
|
-
|
|
17
|
-
// src/provider/AuthProvider/AuthProvider.native.tsx
|
|
18
|
-
import React from "react";
|
|
19
|
-
import { KeycloakProvider as ExpoKeycloakProvider } from "expo-keycloak-auth";
|
|
20
|
-
function AuthProvider({ children, keycloakConfig }) {
|
|
21
|
-
return /* @__PURE__ */ React.createElement(ExpoKeycloakProvider, { ...keycloakConfig }, /* @__PURE__ */ React.createElement(AfterAuth, null, children));
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
AuthProvider
|
|
25
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-MDAAMGTE.js');
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkW4LGQZMFjs = require('../../chunk-W4LGQZMF.js');
|
|
5
|
-
require('../../chunk-EGCPD3BX.js');
|
|
6
|
-
require('../../chunk-ZCBD6HWK.js');
|
|
7
|
-
require('../../chunk-TUJRPTZE.js');
|
|
8
|
-
require('../../chunk-3ZTSLDX7.js');
|
|
9
|
-
require('../../chunk-I5FNGKQ6.js');
|
|
10
|
-
require('../../chunk-VS4M7GMO.js');
|
|
11
|
-
require('../../chunk-74FSREBY.js');
|
|
12
|
-
require('../../chunk-YACGLW5Q.js');
|
|
13
|
-
require('../../chunk-2VGMJ7WP.js');
|
|
14
|
-
require('../../chunk-32AVT4GA.js');
|
|
15
|
-
require('../../chunk-A2V2S4HP.js');
|
|
16
|
-
require('../../chunk-2VDDEPLF.js');
|
|
17
|
-
require('../../chunk-P57PW2II.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports.AuthProvider = _chunkW4LGQZMFjs.AuthProvider;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import "../../chunk-JPQI72HR.mjs";
|
|
2
|
-
import {
|
|
3
|
-
AuthProvider
|
|
4
|
-
} from "../../chunk-C6TOWKPW.mjs";
|
|
5
|
-
import "../../chunk-IGSEESI3.mjs";
|
|
6
|
-
import "../../chunk-HH32BME2.mjs";
|
|
7
|
-
import "../../chunk-L3HTVJ4B.mjs";
|
|
8
|
-
import "../../chunk-HTWZLBA4.mjs";
|
|
9
|
-
import "../../chunk-UKSHA3X3.mjs";
|
|
10
|
-
import "../../chunk-OBB23GPX.mjs";
|
|
11
|
-
import "../../chunk-OYWXU5N7.mjs";
|
|
12
|
-
import "../../chunk-2L5TXBDK.mjs";
|
|
13
|
-
import "../../chunk-KWNIT4G4.mjs";
|
|
14
|
-
import "../../chunk-JAFUI2JQ.mjs";
|
|
15
|
-
import "../../chunk-WMH347OL.mjs";
|
|
16
|
-
import "../../chunk-6FRYV4MK.mjs";
|
|
17
|
-
import "../../chunk-ZFXKCRJC.mjs";
|
|
18
|
-
export {
|
|
19
|
-
AuthProvider
|
|
20
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React__default, { PropsWithChildren } from 'react';
|
|
2
|
-
import { AuthConfig } from '../authConfig.mjs';
|
|
3
|
-
import { Session } from 'next-auth';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* File: /src/provider/KeycloakProvider.tsx
|
|
7
|
-
* Project: @multiplatform.one/keycloak
|
|
8
|
-
* File Created: 10-01-2024 13:56:05
|
|
9
|
-
* Author: Clay Risser
|
|
10
|
-
* -----
|
|
11
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
12
|
-
*
|
|
13
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
14
|
-
* you may not use this file except in compliance with the License.
|
|
15
|
-
* You may obtain a copy of the License at
|
|
16
|
-
*
|
|
17
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
20
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
21
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
22
|
-
* See the License for the specific language governing permissions and
|
|
23
|
-
* limitations under the License.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
interface KeycloakProviderProps extends PropsWithChildren, AuthConfig {
|
|
27
|
-
baseUrl?: string;
|
|
28
|
-
clientId?: string;
|
|
29
|
-
realm?: string;
|
|
30
|
-
session?: Session;
|
|
31
|
-
}
|
|
32
|
-
declare function KeycloakProvider({ children, debug, realm, clientId, baseUrl, session }: KeycloakProviderProps): React__default.JSX.Element;
|
|
33
|
-
|
|
34
|
-
export { KeycloakProvider, type KeycloakProviderProps };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React__default, { PropsWithChildren } from 'react';
|
|
2
|
-
import { AuthConfig } from '../authConfig.js';
|
|
3
|
-
import { Session } from 'next-auth';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* File: /src/provider/KeycloakProvider.tsx
|
|
7
|
-
* Project: @multiplatform.one/keycloak
|
|
8
|
-
* File Created: 10-01-2024 13:56:05
|
|
9
|
-
* Author: Clay Risser
|
|
10
|
-
* -----
|
|
11
|
-
* BitSpur (c) Copyright 2021 - 2024
|
|
12
|
-
*
|
|
13
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
14
|
-
* you may not use this file except in compliance with the License.
|
|
15
|
-
* You may obtain a copy of the License at
|
|
16
|
-
*
|
|
17
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
20
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
21
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
22
|
-
* See the License for the specific language governing permissions and
|
|
23
|
-
* limitations under the License.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
interface KeycloakProviderProps extends PropsWithChildren, AuthConfig {
|
|
27
|
-
baseUrl?: string;
|
|
28
|
-
clientId?: string;
|
|
29
|
-
realm?: string;
|
|
30
|
-
session?: Session;
|
|
31
|
-
}
|
|
32
|
-
declare function KeycloakProvider({ children, debug, realm, clientId, baseUrl, session }: KeycloakProviderProps): React__default.JSX.Element;
|
|
33
|
-
|
|
34
|
-
export { KeycloakProvider, type KeycloakProviderProps };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk6APOOEW6js = require('../chunk-6APOOEW6.js');
|
|
4
|
-
require('../chunk-MDAAMGTE.js');
|
|
5
|
-
require('../chunk-W4LGQZMF.js');
|
|
6
|
-
require('../chunk-EGCPD3BX.js');
|
|
7
|
-
require('../chunk-ZCBD6HWK.js');
|
|
8
|
-
require('../chunk-TUJRPTZE.js');
|
|
9
|
-
require('../chunk-3ZTSLDX7.js');
|
|
10
|
-
require('../chunk-I5FNGKQ6.js');
|
|
11
|
-
require('../chunk-VS4M7GMO.js');
|
|
12
|
-
require('../chunk-74FSREBY.js');
|
|
13
|
-
require('../chunk-YACGLW5Q.js');
|
|
14
|
-
require('../chunk-2VGMJ7WP.js');
|
|
15
|
-
require('../chunk-32AVT4GA.js');
|
|
16
|
-
require('../chunk-A2V2S4HP.js');
|
|
17
|
-
require('../chunk-2VDDEPLF.js');
|
|
18
|
-
require('../chunk-P57PW2II.js');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
exports.KeycloakProvider = _chunk6APOOEW6js.KeycloakProvider;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
KeycloakProvider
|
|
3
|
-
} from "../chunk-DNEUOHZQ.mjs";
|
|
4
|
-
import "../chunk-JPQI72HR.mjs";
|
|
5
|
-
import "../chunk-C6TOWKPW.mjs";
|
|
6
|
-
import "../chunk-IGSEESI3.mjs";
|
|
7
|
-
import "../chunk-HH32BME2.mjs";
|
|
8
|
-
import "../chunk-L3HTVJ4B.mjs";
|
|
9
|
-
import "../chunk-HTWZLBA4.mjs";
|
|
10
|
-
import "../chunk-UKSHA3X3.mjs";
|
|
11
|
-
import "../chunk-OBB23GPX.mjs";
|
|
12
|
-
import "../chunk-OYWXU5N7.mjs";
|
|
13
|
-
import "../chunk-2L5TXBDK.mjs";
|
|
14
|
-
import "../chunk-KWNIT4G4.mjs";
|
|
15
|
-
import "../chunk-JAFUI2JQ.mjs";
|
|
16
|
-
import "../chunk-WMH347OL.mjs";
|
|
17
|
-
import "../chunk-6FRYV4MK.mjs";
|
|
18
|
-
import "../chunk-ZFXKCRJC.mjs";
|
|
19
|
-
export {
|
|
20
|
-
KeycloakProvider
|
|
21
|
-
};
|
package/lib/provider/index.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { AfterAuth, AfterAuthProps } from './AfterAuth.mjs';
|
|
2
|
-
export { AuthProvider, AuthProviderProps, MessageSchema } from './AuthProvider/AuthProvider.mjs';
|
|
3
|
-
export { KeycloakProvider, KeycloakProviderProps } from './KeycloakProvider.mjs';
|
|
4
|
-
import 'react';
|
|
5
|
-
import 'keycloak-js';
|
|
6
|
-
import 'next-auth/react';
|
|
7
|
-
import '../authConfig.mjs';
|
|
8
|
-
import 'next-auth';
|
package/lib/provider/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { AfterAuth, AfterAuthProps } from './AfterAuth.js';
|
|
2
|
-
export { AuthProvider, AuthProviderProps, MessageSchema } from './AuthProvider/AuthProvider.js';
|
|
3
|
-
export { KeycloakProvider, KeycloakProviderProps } from './KeycloakProvider.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import 'keycloak-js';
|
|
6
|
-
import 'next-auth/react';
|
|
7
|
-
import '../authConfig.js';
|
|
8
|
-
import 'next-auth';
|
package/lib/provider/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-BUZONXAW.js');
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk6APOOEW6js = require('../chunk-6APOOEW6.js');
|
|
5
|
-
require('../chunk-MDAAMGTE.js');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkW4LGQZMFjs = require('../chunk-W4LGQZMF.js');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _chunkEGCPD3BXjs = require('../chunk-EGCPD3BX.js');
|
|
12
|
-
require('../chunk-ZCBD6HWK.js');
|
|
13
|
-
require('../chunk-TUJRPTZE.js');
|
|
14
|
-
require('../chunk-3ZTSLDX7.js');
|
|
15
|
-
require('../chunk-I5FNGKQ6.js');
|
|
16
|
-
require('../chunk-VS4M7GMO.js');
|
|
17
|
-
require('../chunk-74FSREBY.js');
|
|
18
|
-
require('../chunk-YACGLW5Q.js');
|
|
19
|
-
require('../chunk-2VGMJ7WP.js');
|
|
20
|
-
require('../chunk-32AVT4GA.js');
|
|
21
|
-
require('../chunk-A2V2S4HP.js');
|
|
22
|
-
require('../chunk-2VDDEPLF.js');
|
|
23
|
-
require('../chunk-P57PW2II.js');
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.AfterAuth = _chunkEGCPD3BXjs.AfterAuth; exports.AuthProvider = _chunkW4LGQZMFjs.AuthProvider; exports.KeycloakProvider = _chunk6APOOEW6js.KeycloakProvider;
|
package/lib/provider/index.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import "../chunk-UESWAK47.mjs";
|
|
2
|
-
import {
|
|
3
|
-
KeycloakProvider
|
|
4
|
-
} from "../chunk-DNEUOHZQ.mjs";
|
|
5
|
-
import "../chunk-JPQI72HR.mjs";
|
|
6
|
-
import {
|
|
7
|
-
AuthProvider
|
|
8
|
-
} from "../chunk-C6TOWKPW.mjs";
|
|
9
|
-
import {
|
|
10
|
-
AfterAuth
|
|
11
|
-
} from "../chunk-IGSEESI3.mjs";
|
|
12
|
-
import "../chunk-HH32BME2.mjs";
|
|
13
|
-
import "../chunk-L3HTVJ4B.mjs";
|
|
14
|
-
import "../chunk-HTWZLBA4.mjs";
|
|
15
|
-
import "../chunk-UKSHA3X3.mjs";
|
|
16
|
-
import "../chunk-OBB23GPX.mjs";
|
|
17
|
-
import "../chunk-OYWXU5N7.mjs";
|
|
18
|
-
import "../chunk-2L5TXBDK.mjs";
|
|
19
|
-
import "../chunk-KWNIT4G4.mjs";
|
|
20
|
-
import "../chunk-JAFUI2JQ.mjs";
|
|
21
|
-
import "../chunk-WMH347OL.mjs";
|
|
22
|
-
import "../chunk-6FRYV4MK.mjs";
|
|
23
|
-
import "../chunk-ZFXKCRJC.mjs";
|
|
24
|
-
export {
|
|
25
|
-
AfterAuth,
|
|
26
|
-
AuthProvider,
|
|
27
|
-
KeycloakProvider
|
|
28
|
-
};
|
package/lib/routes.d.mts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as next_server from 'next/server';
|
|
2
|
-
import { AccessTokenParsed } from './token.mjs';
|
|
3
|
-
import { AuthOptions } from 'next-auth';
|
|
4
|
-
import { JWT } from 'next-auth/jwt';
|
|
5
|
-
import { OAuthUserConfig } from 'next-auth/providers';
|
|
6
|
-
import 'keycloak-js';
|
|
7
|
-
|
|
8
|
-
declare function createAuthHandler(options: AuthHandlerOptions): any;
|
|
9
|
-
declare function createLogoutHandler(options: AuthHandlerOptions): {
|
|
10
|
-
GET(): Promise<next_server.NextResponse<unknown>>;
|
|
11
|
-
};
|
|
12
|
-
declare function createNextAuthOptions(options: AuthHandlerOptions): AuthOptions;
|
|
13
|
-
interface AuthHandlerOptions {
|
|
14
|
-
baseUrl: string;
|
|
15
|
-
keycloak: KeycloakOptions;
|
|
16
|
-
nextAuth?: Partial<AuthOptions>;
|
|
17
|
-
}
|
|
18
|
-
interface KeycloakOptions extends OAuthUserConfig<any> {
|
|
19
|
-
adminPassword?: string;
|
|
20
|
-
adminUsername?: string;
|
|
21
|
-
baseUrl?: string;
|
|
22
|
-
realm?: string;
|
|
23
|
-
}
|
|
24
|
-
interface NextToken extends JWT {
|
|
25
|
-
accessToken?: string;
|
|
26
|
-
decoded: AccessTokenParsed;
|
|
27
|
-
err?: Error;
|
|
28
|
-
expiresAt: number;
|
|
29
|
-
idToken?: string;
|
|
30
|
-
refreshToken: string;
|
|
31
|
-
roles: string[];
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export { type AuthHandlerOptions, type KeycloakOptions, type NextToken, createAuthHandler, createLogoutHandler, createNextAuthOptions };
|
package/lib/routes.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as next_server from 'next/server';
|
|
2
|
-
import { AccessTokenParsed } from './token.js';
|
|
3
|
-
import { AuthOptions } from 'next-auth';
|
|
4
|
-
import { JWT } from 'next-auth/jwt';
|
|
5
|
-
import { OAuthUserConfig } from 'next-auth/providers';
|
|
6
|
-
import 'keycloak-js';
|
|
7
|
-
|
|
8
|
-
declare function createAuthHandler(options: AuthHandlerOptions): any;
|
|
9
|
-
declare function createLogoutHandler(options: AuthHandlerOptions): {
|
|
10
|
-
GET(): Promise<next_server.NextResponse<unknown>>;
|
|
11
|
-
};
|
|
12
|
-
declare function createNextAuthOptions(options: AuthHandlerOptions): AuthOptions;
|
|
13
|
-
interface AuthHandlerOptions {
|
|
14
|
-
baseUrl: string;
|
|
15
|
-
keycloak: KeycloakOptions;
|
|
16
|
-
nextAuth?: Partial<AuthOptions>;
|
|
17
|
-
}
|
|
18
|
-
interface KeycloakOptions extends OAuthUserConfig<any> {
|
|
19
|
-
adminPassword?: string;
|
|
20
|
-
adminUsername?: string;
|
|
21
|
-
baseUrl?: string;
|
|
22
|
-
realm?: string;
|
|
23
|
-
}
|
|
24
|
-
interface NextToken extends JWT {
|
|
25
|
-
accessToken?: string;
|
|
26
|
-
decoded: AccessTokenParsed;
|
|
27
|
-
err?: Error;
|
|
28
|
-
expiresAt: number;
|
|
29
|
-
idToken?: string;
|
|
30
|
-
refreshToken: string;
|
|
31
|
-
roles: string[];
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export { type AuthHandlerOptions, type KeycloakOptions, type NextToken, createAuthHandler, createLogoutHandler, createNextAuthOptions };
|