Class

SessionStorage

SessionStorage(options)

A class to manage sessionStorage.
Constructor

# new SessionStorage(options)

Parameters:
Name Type Description
options SessionStorageOptions The options that can be used.

View Source lib/SessionStorage.ts, line 9

Classes

SessionStorage

Methods

# getSessionToken() → {string}

Return the session token that was stored in the sessionStorage.

View Source lib/SessionStorage.ts, line 54

string

# removeSessionToken()

Removes the session token used for authentication.

View Source lib/SessionStorage.ts, line 66

# setSessionToken(token)

Stores the session token in the sessionStorage.
Parameters:
Name Type Description
token string The session token to be stored.

View Source lib/SessionStorage.ts, line 61