Skip to main content

@authgear/capacitor / SessionStateChangeReason

Enumeration: SessionStateChangeReason

The reason why SessionState is changed.

These reasons can be thought of as the transition of a SessionState, which is described as follows:

                                                     LOGOUT / INVALID / CLEAR
+----------------------------------------------+
v |
State: UNKNOWN ----- NO_TOKEN ----> State: NO_SESSION ---- AUTHENTICATED -----> State: AUTHENTICATED
| ^
+--------------------------------------------------------------------------------+
FOUND_TOKEN

Table of contents

Enumeration Members

Enumeration Members

Authenticated

Authenticated = "AUTHENTICATED"

Defined in

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


Clear

Clear = "CLEAR"

Defined in

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


FoundToken

FoundToken = "FOUND_TOKEN"

Defined in

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


Invalid

Invalid = "INVALID"

Defined in

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


Logout

Logout = "LOGOUT"

Defined in

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


NoToken

NoToken = "NO_TOKEN"

Defined in

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