OptionalskipWhether to skip local PKCE validation.
If true, the server will not perform PKCE validation locally and will pass the code_verifier to the upstream server.
NOTE: This should only be true if the upstream server is performing the actual PKCE validation.
A store used to read information about registered OAuth clients.
Begins the authorization flow, which can either be implemented by this server itself or via redirection to a separate authorization server.
This server must eventually issue a redirect with an authorization response or an error response to the given redirect URI. Per OAuth 2.1:
code and state (if present) query parameters.error query parameter, and MAY include an optional error_description query parameter.Returns the codeChallenge that was used when the indicated authorization began.
Exchanges an authorization code for an access token.
OptionalcodeVerifier: stringOptionalredirectUri: stringOptionalresource: URLExchanges a refresh token for an access token.
Optionalscopes: string[]Optionalresource: URLOptionalrevokeRevokes an access or refresh token. If unimplemented, token revocation is not supported (not recommended).
If the given token is invalid or already revoked, this method should do nothing.
Verifies an access token and returns information about it.
Implements an end-to-end OAuth server.