Authenticator class

Handles oauth2 authentication for the application.

Constructors

Authenticator({required File credentialsFile, required String id, required Future<Uri> listen(Uri), required Future<void> redirect(Uri), required Uri redirectUrl, required String secret})
Authenticates the application associated with id and secret.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authenticate() Future<Client?>
Authenticate the user
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited