{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Enumeration: AuthStatus"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/readme"},"children":["PERS SDK - v2.3.26"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/modules"},"children":["Exports"]}," / AuthStatus"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"enumeration-authstatus","__idx":0},"children":["Enumeration: AuthStatus"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authentication status enumeration"," ","Represents the current state of the authentication system"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enumeration-members","__idx":2},"children":["Enumeration Members"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/enums/authstatus#authenticated"},"children":["AUTHENTICATED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/enums/authstatus#token_expired"},"children":["TOKEN_EXPIRED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/enums/authstatus#auth_failed"},"children":["AUTH_FAILED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/enums/authstatus#refreshing"},"children":["REFRESHING"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/enums/authstatus#unauthenticated"},"children":["UNAUTHENTICATED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/enums/authstatus#session_restored"},"children":["SESSION_RESTORED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/enums/authstatus#session_restoration_failed"},"children":["SESSION_RESTORATION_FAILED"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"enumeration-members-1","__idx":3},"children":["Enumeration Members"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"authenticated","__idx":4},"children":["AUTHENTICATED"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AUTHENTICATED"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"authenticated\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["User is authenticated with valid tokens"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in","__idx":5},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/core/auth/auth-status.ts#L7"},"children":["core/auth/auth-status.ts:7"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"token_expired","__idx":6},"children":["TOKEN_EXPIRED"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TOKEN_EXPIRED"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"token_expired\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Access token has expired, refresh may be possible"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-1","__idx":7},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/core/auth/auth-status.ts#L10"},"children":["core/auth/auth-status.ts:10"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"auth_failed","__idx":8},"children":["AUTH_FAILED"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AUTH_FAILED"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"auth_failed\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authentication system has failed, manual re-authentication required"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-2","__idx":9},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/core/auth/auth-status.ts#L13"},"children":["core/auth/auth-status.ts:13"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"refreshing","__idx":10},"children":["REFRESHING"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["REFRESHING"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"refreshing\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Currently attempting to refresh tokens"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-3","__idx":11},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/core/auth/auth-status.ts#L16"},"children":["core/auth/auth-status.ts:16"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"unauthenticated","__idx":12},"children":["UNAUTHENTICATED"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["UNAUTHENTICATED"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"unauthenticated\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No authentication present"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-4","__idx":13},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/core/auth/auth-status.ts#L19"},"children":["core/auth/auth-status.ts:19"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"session_restored","__idx":14},"children":["SESSION_RESTORED"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SESSION_RESTORED"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"session_restored\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Session restoration completed (fired once on SDK initialization)"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-5","__idx":15},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/core/auth/auth-status.ts#L22"},"children":["core/auth/auth-status.ts:22"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"session_restoration_failed","__idx":16},"children":["SESSION_RESTORATION_FAILED"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SESSION_RESTORATION_FAILED"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"session_restoration_failed\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Session restoration determined no valid session exists"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-6","__idx":17},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/core/auth/auth-status.ts#L25"},"children":["core/auth/auth-status.ts:25"]}]}]},"headings":[{"value":"Enumeration: AuthStatus","id":"enumeration-authstatus","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Enumeration Members","id":"enumeration-members","depth":3},{"value":"Enumeration Members","id":"enumeration-members-1","depth":2},{"value":"AUTHENTICATED","id":"authenticated","depth":3},{"value":"Defined in","id":"defined-in","depth":4},{"value":"TOKEN_EXPIRED","id":"token_expired","depth":3},{"value":"Defined in","id":"defined-in-1","depth":4},{"value":"AUTH_FAILED","id":"auth_failed","depth":3},{"value":"Defined in","id":"defined-in-2","depth":4},{"value":"REFRESHING","id":"refreshing","depth":3},{"value":"Defined in","id":"defined-in-3","depth":4},{"value":"UNAUTHENTICATED","id":"unauthenticated","depth":3},{"value":"Defined in","id":"defined-in-4","depth":4},{"value":"SESSION_RESTORED","id":"session_restored","depth":3},{"value":"Defined in","id":"defined-in-5","depth":4},{"value":"SESSION_RESTORATION_FAILED","id":"session_restoration_failed","depth":3},{"value":"Defined in","id":"defined-in-6","depth":4}],"frontmatter":{"seo":{"title":"Enumeration: AuthStatus"}},"lastModified":"2026-08-21T18:40:55.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-reference/enums/authstatus","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}