AuthState

sealed interface AuthState

Whether the SDK currently holds a session.

Inheritors

Types

Link copied to clipboard
sealed interface Identified : AuthState

A session is open and content can be requested.

Link copied to clipboard
data object Unidentified : AuthState

No session. Either none was ever opened, CgsAuth.clearSession ended it, or one was lost and could not be refreshed. Content requests will fail until CgsAuth.authenticate succeeds.