TokenStore
A token store.
Functions
Link copied to clipboard
fun refreshTokenIn(scope: CoroutineScope, refreshToken: suspend (Token) -> Token, releaseToken: suspend (Token) -> Unit, onFailure: suspend (t: Throwable) -> Unit): Job
A helper function to refresh and release the Token found in TokenStore.