PERS SDK - v2.3.26 / Exports / AuthStatus
Authentication status enumeration Represents the current state of the authentication system
- AUTHENTICATED
- TOKEN_EXPIRED
- AUTH_FAILED
- REFRESHING
- UNAUTHENTICATED
- SESSION_RESTORED
- SESSION_RESTORATION_FAILED
• AUTHENTICATED = "authenticated"
User is authenticated with valid tokens
• TOKEN_EXPIRED = "token_expired"
Access token has expired, refresh may be possible
• AUTH_FAILED = "auth_failed"
Authentication system has failed, manual re-authentication required
• REFRESHING = "refreshing"
Currently attempting to refresh tokens
• UNAUTHENTICATED = "unauthenticated"
No authentication present
• SESSION_RESTORED = "session_restored"
Session restoration completed (fired once on SDK initialization)
• SESSION_RESTORATION_FAILED = "session_restoration_failed"
Session restoration determined no valid session exists