sealed class AuthenticationState : AuthenticationEvent
Represents the transition to an authentication state.
data class Authenticated : AuthenticationEvent.AuthenticationState
A user is currently authenticated with given details. |
|
object Required : AuthenticationEvent.AuthenticationState
No user is currently authenticated, but the user is expected to authenticate. |
|
object Unauthenticated : AuthenticationEvent.AuthenticationState
No user is currently neither authenticated nor expected to authenticate. |
open fun isAuthenticated(): Boolean
|
|
open fun isUnauthenticated(): Boolean
|
data class Authenticated : AuthenticationEvent.AuthenticationState
A user is currently authenticated with given details. |
|
object Required : AuthenticationEvent.AuthenticationState
No user is currently authenticated, but the user is expected to authenticate. |
|
object Unauthenticated : AuthenticationEvent.AuthenticationState
No user is currently neither authenticated nor expected to authenticate. |