oidc-react / AuthContextInterface / AuthContextProps
AuthContextInterface.AuthContextProps
• isLoading: boolean
Auth state: True until the library has been initialized.
Defined in: src/AuthContextInterface.ts:147
• signIn: (args?
: unknown) => Promise<void>
Alias for userManager.signInRedirect
▸ (args?
: unknown): Promise<void>
Name | Type |
---|---|
args? |
unknown |
Returns: Promise<void>
Defined in: src/AuthContextInterface.ts:123
Defined in: src/AuthContextInterface.ts:123
• signInPopup: () => Promise<void>
Alias for userManager.signinPopup
▸ (): Promise<void>
Returns: Promise<void>
Defined in: src/AuthContextInterface.ts:127
Defined in: src/AuthContextInterface.ts:127
• signOut: () => Promise<void>
Alias for removeUser
▸ (): Promise<void>
Returns: Promise<void>
Defined in: src/AuthContextInterface.ts:131
Defined in: src/AuthContextInterface.ts:131
• signOutRedirect: (args?
: unknown) => Promise<void>
▸ (args?
: unknown): Promise<void>
Name | Type |
---|---|
args? |
unknown |
Returns: Promise<void>
Defined in: src/AuthContextInterface.ts:135
Defined in: src/AuthContextInterface.ts:135
• Optional
userData: null | User
See User for more details.
Defined in: src/AuthContextInterface.ts:143
• userManager: null | UserManager
See UserManager for more details.
Defined in: src/AuthContextInterface.ts:139