Extra parameters needed to be passed while requesting a token.
PKCE (RFC 7636) is an extension to the Authorization Code flow to prevent several attacks and to be able to securely perform the OAuth exchange from public clients.
It was originally designed to protect mobile apps, but its ability to prevent authorization code injection makes it useful for every OAuth client, even web apps that use a client secret.
Indicates the type of user interaction that is required. Not all providers support this or the full list.
Well known values are:
add the callback handler to a given route.
Return a new instance with the internal state copied from the caller but the scopes to be requested during a token request are unique to the instance.
Return a new instance with the internal state copied from the caller but the scopes to be requested during a token request are unique to the instance.
Create a OAuth2 auth handler with host pinning
Create a OAuth2 auth handler without host pinning. Most providers will not look to the redirect url but always redirect to the preconfigured callback. So this factory does not provide a callback url.
Generated using TypeDoc
An auth handler that provides OAuth2 Authentication support. This handler is suitable for AuthCode flows.