keeper/token_keeper library
Classes
- TokenKeeper
-
Coordinates access-token retrieval, proactive refresh, single-flight
refresh, and authenticated operation retry — built on top of
resilifyso failure handling is unified with the rest of your networking stack.
Typedefs
-
TokenRefresher
= Future<
Result< Function(Token current)Token> > -
A function that exchanges the
currenttoken for a fresh one.