View on GitHub

sensibill-android-documentation

com.getsensibill.sensibillauth / SensibillAuth / SaveExpiryTokensListener

SaveExpiryTokensListener

interface SaveExpiryTokensListener

Listener to observe User Token storage during sign in.

Functions

Name Summary
onFailed abstract fun onFailed(): Unit
Called when user token failed to cache
onSaved abstract fun onSaved(): Unit
Called when user token was cached successfully after sign-in

Companion Object Functions

Name Summary
await suspend fun await(block: (SensibillAuth.SaveExpiryTokensListener) -> Unit): Boolean
Helper suspend function to handle a SaveExpiryTokensListener in a synchronous manner using suspended coroutines