foundation-comms.session
Home > @genesislcap/foundation-comms > Session
Session interface
Represents a session storage and its capabilities. Provides methods to set and get items from the specified storage.
Signature:
export interface Session
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
The return URL for the session. |
Methods
|
Method |
Description |
|---|---|
|
Captures the return URL for the session. | |
|
Deletes the user from the session storage. | |
|
Returns the value of the specified item in the specified storage. | |
|
Returns the value of the item with the specified key from the local storage. | |
|
Returns the value of the item with the specified key from the session storage. | |
|
Removes the item with the specified key from the specified storage. | |
|
Removes the item with the specified key from the local storage. | |
|
Removes the item with the specified key from the session storage. | |
|
Sets the authentication result for the session. | |
|
Sets an item in the specified storage with the specified key and value. | |
|
Sets an item in the local storage with the specified key and value. | |
|
Sets an item in the session storage with the specified key and value. | |
|
Sets the storage key prefix for the session. |