Authenticator class
Constructors
-
Authenticator(Client client, {int port = 3000, dynamic urlLancher(String url) = _runBrowser, Iterable<
String> scopes = const [], Uri? redirectUri, RedirectHtmlType redirectHtmlType = RedirectHtmlType.htmlDefault, String redirectHtmlCustom = ''}) - Authenticator.fromFlow(Flow flow, {dynamic urlLancher(String url)?})
Properties
- flow → Flow
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- port → int
-
final
- redirectHtmlCustom ↔ String
-
getter/setter pair
- redirectHtmlType ↔ RedirectHtmlType
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- urlLancher → dynamic Function(String url)
-
final
Methods
-
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