Skip to main content

@authgear/capacitor / 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.

Table of contents

Enumeration Members

Enumeration Members

Authenticated

Authenticated = "AUTHENTICATED"

Defined in

packages/authgear-capacitor/index.d.ts:248


NoSession

NoSession = "NO_SESSION"

Defined in

packages/authgear-capacitor/index.d.ts:247


Unknown

Unknown = "UNKNOWN"

Defined in

packages/authgear-capacitor/index.d.ts:246