AuthState
Defined in: client/src/types.ts:68
Reactive authentication state exposed by OidcClient.
Properties
Section titled “Properties”error:
Error|null
Defined in: client/src/types.ts:76
The most recent authentication error, or null if none.
isAuthenticated
Section titled “isAuthenticated”isAuthenticated:
boolean
Defined in: client/src/types.ts:72
Whether the user is currently authenticated.
isLoading
Section titled “isLoading”isLoading:
boolean
Defined in: client/src/types.ts:74
Whether initialization or a token exchange is in progress.
tokens
Section titled “tokens”tokens:
AuthTokens
Defined in: client/src/types.ts:78
Current set of OAuth 2.0 tokens.
user:
AuthUser|null
Defined in: client/src/types.ts:70
The authenticated user, or null if not logged in.