Protected MAX_Protected optsPrivate sessionProtected axiosOptional body: UReturn the request headers that would normally be used with an axios request Useful if you need to make a request via a different method and just need the headers
Returns the current session state for the session in progress
Protected initializeProtected performOptional body: UPerform a delete request to the specified url Will append any headers or other info needed for auth
Optional options: AxiosRequestOptionsPerform a get request to the specified url Will append any headers or other info needed for auth
Optional options: AxiosRequestOptionsPerform a patch request to the specified url Will append any headers or other info needed for auth
Optional options: AxiosRequestOptionsPerform a post request to the specified url Will append any headers or other info needed for auth
Optional options: AxiosRequestOptionsUpdate the session state with the given data.
If a userId is provided, the session will be set as logged in (or logged out if null). Call after a successful login or refresh.
Otherwise, this can be used to update tenantId and other session-based variables
Protected validateGenerated using TypeDoc
A service which handles session management for a front-end application