Skip to content

Latest commit

 

History

History
113 lines (57 loc) · 2.1 KB

AuthContextProps.md

File metadata and controls

113 lines (57 loc) · 2.1 KB

oidc-reactDocs


oidc-react / AuthContextProps

Interface: AuthContextProps

Properties

isLoading

isLoading: boolean

Auth state: True until the library has been initialized.

Defined in

src/auth-context-interface.ts:181


signIn()

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

Alias for userManager.signInRedirect

Parameters

args?: SigninRedirectArgs

Returns

Promise<void>

Defined in

src/auth-context-interface.ts:157


signInPopup()

signInPopup: () => Promise<void>

Alias for userManager.signinPopup

Returns

Promise<void>

Defined in

src/auth-context-interface.ts:161


signOut()

signOut: () => Promise<void>

Alias for removeUser

Returns

Promise<void>

Defined in

src/auth-context-interface.ts:165


signOutRedirect()

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

Parameters

args?: SignoutRedirectArgs

Returns

Promise<void>

Defined in

src/auth-context-interface.ts:169


userData?

optional userData: null | User

See User for more details.

Defined in

src/auth-context-interface.ts:177


userManager

userManager: UserManager

See UserManager for more details.

Defined in

src/auth-context-interface.ts:173