AuthState
Defined in: packages/core/src/types.ts:97
State stored before redirecting to the authorization endpoint.
Used to validate the callback and complete the token exchange.
Properties
Section titled “Properties”codeVerifier
Section titled “codeVerifier”codeVerifier:
string
Defined in: packages/core/src/types.ts:99
PKCE code verifier (RFC 7636 Section 4.1).
nonce:
string
Defined in: packages/core/src/types.ts:103
Nonce binding the ID token to this session (OpenID Connect Core 1.0 Section 3.1.2.1).
redirectUri
Section titled “redirectUri”redirectUri:
string
Defined in: packages/core/src/types.ts:105
Redirect URI used for this authorization request.
returnTo?
Section titled “returnTo?”
optionalreturnTo?:string
Defined in: packages/core/src/types.ts:107
Application route to restore after login completes.
state:
string
Defined in: packages/core/src/types.ts:101
Anti-CSRF state parameter (RFC 6749 Section 10.12).