TokenSource class abstract interface

Source of credentials for the auth interceptor. Called once per request that does not already carry an Authorization header.

Implementers

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
token() Future<String>
Returns the token to send. May be sync via Future.value(...) or genuinely async when the implementation refreshes against an IdP.
toString() String
A string representation of this object.
inherited

Operators

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