Skip to content
Last updated

PERS SDK - v2.3.26 / Exports / AuthStatus

Enumeration: AuthStatus

Authentication status enumeration Represents the current state of the authentication system

Table of contents

Enumeration Members

Enumeration Members

AUTHENTICATED

AUTHENTICATED = "authenticated"

User is authenticated with valid tokens

Defined in

core/auth/auth-status.ts:7


TOKEN_EXPIRED

TOKEN_EXPIRED = "token_expired"

Access token has expired, refresh may be possible

Defined in

core/auth/auth-status.ts:10


AUTH_FAILED

AUTH_FAILED = "auth_failed"

Authentication system has failed, manual re-authentication required

Defined in

core/auth/auth-status.ts:13


REFRESHING

REFRESHING = "refreshing"

Currently attempting to refresh tokens

Defined in

core/auth/auth-status.ts:16


UNAUTHENTICATED

UNAUTHENTICATED = "unauthenticated"

No authentication present

Defined in

core/auth/auth-status.ts:19


SESSION_RESTORED

SESSION_RESTORED = "session_restored"

Session restoration completed (fired once on SDK initialization)

Defined in

core/auth/auth-status.ts:22


SESSION_RESTORATION_FAILED

SESSION_RESTORATION_FAILED = "session_restoration_failed"

Session restoration determined no valid session exists

Defined in

core/auth/auth-status.ts:25