angel_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(RequestContext req, ResponseContext res) FutureOr<AuthorizationTokenResponse>
A request handler that performs an arbitrary authorization token grant.

Exceptions / Errors

AuthorizationException
An Angel-friendly wrapper around OAuth2 ErrorResponse instances.