com.getsensibill.sensibillauth / SensibillAuth / AuthListener
AuthListener
interface AuthListener
Generic Authentication listener to monitor common authentication processes
Functions
Name | Summary |
---|---|
onFailure | abstract fun onFailure(error: SensibillAuth.AuthError ): Unit Called when the Authentication process failed with AuthError |
onSuccess | abstract fun onSuccess(): Unit Called when the authentication process succeeded |
Companion Object Functions
Name | Summary |
---|---|
await | suspend fun await(block: ( SensibillAuth.AuthListener ) -> Unit ): SensibillAuth.AuthError ? Helper suspend function to handle a SessionListener in a synchronous manner using suspended coroutines |