keeper/token_keeper library

Classes

TokenKeeper
Coordinates access-token retrieval, proactive refresh, single-flight refresh, and authenticated operation retry — built on top of resilify so failure handling is unified with the rest of your networking stack.

Typedefs

TokenRefresher = Future<Result<Token>> Function(Token current)
A function that exchanges the current token for a fresh one.