Protected
optionsProtected
sessionProtected
sessionProtected
verifyProtected
authorizationReturn extra parameters to be included in the authorization request.
Some OAuth 2.0 providers allow additional, non-standard parameters to be included when requesting authorization. Since these parameters are not standardized by the OAuth 2.0 specification, OAuth 2.0-based authentication strategies can override this function in order to populate these parameters as required by the provider.
Protected
failureGet new tokens using a refresh token.
The refresh token to use
Optional
options: Partial<Pick<OAuth2StrategyOptions, "scopes">> & { Optional options to override the default strategy options
A promise that resolves to the new tokens
Optional
options: { Optional
signal?: AbortSignalOptional
tokenProtected
successProtected
userProtected
user
The authentication flow of the strategy.
This method receives the Request to authenticator and the session storage to use from the Authenticator. It may receive a custom callback.
At the end of the flow, it will return a Response to be used by the application.