B2BAuthenticationState

sealed class B2BAuthenticationState : AuthenticationState

Represents the current authentication state of a B2B member.

Inheritors

Types

Link copied to clipboard
class Authenticated(val member: ApiOrganizationV1Member, val memberSession: ApiB2bSessionV1MemberSession, val organization: ApiOrganizationV1Organization, val sessionToken: String, val sessionJwt: String) : B2BAuthenticationState

The member is authenticated.

Link copied to clipboard
class Error(val exception: Throwable) : B2BAuthenticationState

An error during startup has occurred

Link copied to clipboard

The initial state before the SDK has determined the authentication status.

Link copied to clipboard

The member is not authenticated.