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
createRefreshes the access token using the provided refresh token.
The refresh token to use for obtaining a new access token.
Optional
access: stringAn optional access token to validate if it needs to be refreshed.
The new tokens obtained after refreshing.
Protected
validateOptional
options: { audience?: string; refresh: string }
The name of the strategy. This will be used by the Authenticator to identify and retrieve the strategy.