Authenticator class

Constructors

Authenticator(Client? client, {int port = 3000, dynamic urlLancher(String url) = _runBrowser, Iterable<String> scopes = const [], Uri? redirectUri})

Properties

flow Flow
final
hashCode int
The hash code for this object.
no setterinherited
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urlLancher → dynamic Function(String url)
final

Methods

authorize() Future<Credential>
cancel() Future<void>
cancel the ongoing auth flow, i.e. when the user closed the webview/browser without a successful login
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

Static Methods

processResult(Map<String, String> result) Future<void>
Process the Result from a auth Request You can call this manually if you are redirected to the app by an external browser