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

AuthenticationEvent

sealed class AuthenticationEvent

Represents an authentication event as expected by the callback functions passed to the AuthenticationService.subscribe method.

Types

AuthenticationState

sealed class AuthenticationState : AuthenticationEvent

Represents the transition to an authentication state.

Rejected

class Rejected : AuthenticationEvent

Represents the occurrence of an authentication error.

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

AuthenticationState

sealed class AuthenticationState : AuthenticationEvent

Represents the transition to an authentication state.

Rejected

class Rejected : AuthenticationEvent

Represents the occurrence of an authentication error.