Abstract Protected Abstract Internal adminProtected autoProtected Abstract Internal configProtected refreshProtected refreshProtected Abstract Internal scuteProtected visibilityPrivate __refreshInternal
Private _autoPrivate _expireProtected _getInternal
Get access token from the current session.
{Session}
Private _getInternal
Private _getInternal
Get credential store for new device checks.
Protected _getInternal
fresh needs to be set to true to get the latest data from the server.Optional fresh: booleanFetch new data from the server
Emit refetch event when getting fresh data
Private _handleInternal
Handle refetch session (getCurrentUser) error
Private _handleInternal
Handle refresh session error
Protected Abstract _initializeInternal
Rest ...params: []Private _onPrivate _refetchInternal
{Session}
Private _refreshInternal
Rest ...params: [session: Session]Protected Abstract _refreshInternal
Rest ...params: [jwt: string]Private _removePrivate _savePrivate _saveProtected _signPrivate _startPrivate _stopProtected Abstract debugProtected deleteInternal
Delete credential id.
{UniqueIdentifier}
{UniqueIdentifier}
Protected Abstract emitInternal
Rest ...params: [event: AuthChangeEvent, session?: null | Session, user?: null | ScuteUserData]Protected getInternal
Get all stored credential ids as array.
{UniqueIdentifier}
Protected Abstract getInternal
Rest ...params: [accessToken: string]Get current session.
Protected initialRefetch session.
Refresh and save new auth token with current session.
Protected registerProtected registerProtected removeSet refresh proxy callback. This is useful when you do not want to pass the refresh token to the client.
Send request to your backend server to refresh session with secret key in callback function.
Callback function to
Protected setProtected setSet session to the storage. If persistence is not disabled session will remain between hard refreshes.
{ScuteTokenPayload}
Protected storeInternal
Store credential id.
{UniqueIdentifier}
{UniqueIdentifier}
Generated using TypeDoc
{Session}