Constructor
# new SessionStorage(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
SessionStorageOptions
|
The options that can be used. |
Classes
Methods
# getSessionToken() → {string}
Return the session token that was stored in the sessionStorage.
string
# removeSessionToken()
Removes the session token used for authentication.
# setSessionToken(token)
Stores the session token in the sessionStorage.
Parameters:
Name | Type | Description |
---|---|---|
token |
string
|
The session token to be stored. |