Skip to main content

SessionState

@authgear/react-native


@authgear/react-native / SessionState

Enumeration: SessionState

The session state.

An freshly constructed instance has the session state "UNKNOWN";

After a call to configure, the session state would become "AUTHENTICATED" if a previous session was found, or "NO_SESSION" if such session was not found.

Please refer to SessionStateChangeReason for more information.

Enumeration Members​

Authenticated​

Authenticated: "AUTHENTICATED"


NoSession​

NoSession: "NO_SESSION"


Unknown​

Unknown: "UNKNOWN"