angel3_oauth2 library

Classes

AuthorizationServer<Client, User>
An OAuth2 authorization server, which issues access tokens to third parties.
AuthorizationTokenResponse
Represents an OAuth2 authorization token.
AuthorizationTokenType
The various types of OAuth2 authorization tokens.
DeviceCodeResponse
Represents the response for an OAuth2 device_code request.
ErrorResponse
Represents an OAuth2 authentication error.
Pkce
A class that facilitates verification of challenges for Proof Key for Code Exchange.

Typedefs

ExtensionGrant = FutureOr<AuthorizationTokenResponse> Function(RequestContext req, ResponseContext res)
A request handler that performs an arbitrary authorization token grant.

Exceptions / Errors

AuthorizationException
An Angel-friendly wrapper around OAuth2 ErrorResponse instances.