OAuthSessionFlowConfig
Configures a typed OAuth 2.0 flow with session-backed route authentication.
Used by oauth2Session to combine OAuthFlowConfigBase with session storage, session creation, and principal resolution via sessions.
Type Parameters
S
the session type stored by the Sessions plugin.
P
the principal type available in protected route handlers.
Properties
Link copied to clipboard
HTTP client used to call the OAuth token endpoint.
Link copied to clipboard
A description of the provider that can be used for API documentation.
Link copied to clipboard
Handles OAuth 2.0 errors such as authorization errors and token exchange failures.
Link copied to clipboard
Resolves OAuth 2.0 server settings for the current routing context.
Link copied to clipboard
Session configuration set by sessions.
Link copied to clipboard
Static OAuth 2.0 server settings. Either this or providerLookup must be specified.