TokenRefreshCoordinator class

Coalesces concurrent refreshes for one session. Canceling a caller stops its wait, while other callers retain the shared refresh.

Constructors

TokenRefreshCoordinator(TokenProvider provider)

Properties

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

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh(String? rejected, CancellationToken caller) → Future<String?>
toString() → String
A string representation of this object.
inherited

Operators

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