Protected
optionsProtected
sessionProtected
sessionProtected
verifyThe 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.
Protected
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 to override the default strategy options
A promise that resolves to the new tokens
Optional
signal?: AbortSignalOptional
tokenProtected
successProtected
user
The name of the strategy. This will be used by the Authenticator to identify and retrieve the strategy.