Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.authentication / AuthenticationEvent / AuthenticationState

AuthenticationState

sealed class AuthenticationState : AuthenticationEvent

Represents the transition to an authentication state.

Types

Authenticated

data class Authenticated : AuthenticationEvent.AuthenticationState

A user is currently authenticated with given details.

Required

object Required : AuthenticationEvent.AuthenticationState

No user is currently authenticated, but the user is expected to authenticate.

Unauthenticated

object Unauthenticated : AuthenticationEvent.AuthenticationState

No user is currently neither authenticated nor expected to authenticate.

Inherited Functions

isAuthenticated

open fun isAuthenticated(): Boolean

true if an only if this AuthenticationEvent is AuthenticationState.Authenticated.

isUnauthenticated

open fun isUnauthenticated(): Boolean

true if an only if this AuthenticationEvent is AuthenticationState.Unauthenticated.

Inheritors

Authenticated

data class Authenticated : AuthenticationEvent.AuthenticationState

A user is currently authenticated with given details.

Required

object Required : AuthenticationEvent.AuthenticationState

No user is currently authenticated, but the user is expected to authenticate.

Unauthenticated

object Unauthenticated : AuthenticationEvent.AuthenticationState

No user is currently neither authenticated nor expected to authenticate.