TokenProvider class
Constructors
- TokenProvider(SdkConfig _config, TokenStore _store, ExsitedClient _client)
Properties
Methods
-
accessToken(
) → Future< String> - A usable token, fetched only if needed.
-
invalidateAccessToken(
String? deadAccessToken) → Future< bool> - Evict a token the API has refused, if the cache still holds it.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
String? stale) → Future< String> - Replace a token the API has rejected.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited