Fixed Token Source
A non-configurable token source that does not take any options.
Inheritors
Functions
Link copied to clipboard
fun FixedTokenSource.cached(store: TokenStore = InMemoryTokenStore(), validator: TokenValidator = defaultValidator): CachingFixedTokenSource
Wraps the token store with a cache so that it reuses the token as long as it is valid.
Link copied to clipboard