BaseCachingTokenSource

Constructors

Link copied to clipboard
constructor(store: TokenStore, validator: TokenValidator)

Functions

Link copied to clipboard

Get the cached credentials if one exists.

Link copied to clipboard

Implement this to fetch the TokenSourceResponse from the token source.

Link copied to clipboard
suspend fun invalidate()

Invalidate the cached credentials, forcing a fresh fetch on the next request.