Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 3.49 KB

authcontextinterface.authcontextprops.md

File metadata and controls

129 lines (70 loc) · 3.49 KB

oidc-react / AuthContextInterface / AuthContextProps

Interface: AuthContextProps

AuthContextInterface.AuthContextProps

Table of contents

Properties

Properties

isLoading

isLoading: boolean

Auth state: True until the library has been initialized.

Defined in: src/AuthContextInterface.ts:147


signIn

signIn: (args?: unknown) => Promise<void>

Alias for userManager.signInRedirect

Type declaration:

▸ (args?: unknown): Promise<void>

Parameters:

Name Type
args? unknown

Returns: Promise<void>

Defined in: src/AuthContextInterface.ts:123

Defined in: src/AuthContextInterface.ts:123


signInPopup

signInPopup: () => Promise<void>

Alias for userManager.signinPopup

Type declaration:

▸ (): Promise<void>

Returns: Promise<void>

Defined in: src/AuthContextInterface.ts:127

Defined in: src/AuthContextInterface.ts:127


signOut

signOut: () => Promise<void>

Alias for removeUser

Type declaration:

▸ (): Promise<void>

Returns: Promise<void>

Defined in: src/AuthContextInterface.ts:131

Defined in: src/AuthContextInterface.ts:131


signOutRedirect

signOutRedirect: (args?: unknown) => Promise<void>

Type declaration:

▸ (args?: unknown): Promise<void>

Parameters:

Name Type
args? unknown

Returns: Promise<void>

Defined in: src/AuthContextInterface.ts:135

Defined in: src/AuthContextInterface.ts:135


userData

Optional userData: null | User

See User for more details.

Defined in: src/AuthContextInterface.ts:143


userManager

userManager: null | UserManager

See UserManager for more details.

Defined in: src/AuthContextInterface.ts:139