getSession
DEPRECATED: Applications should manage storage/retrieval of serialized ArcGISContexts. Please see ArcGISContextManager.serialize(...) and ArcGISContextManager.deserialize(...) Re-hydrate a UserSession from a browser's local storage. If not found,
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
clientId Required | string |
oAuth Client Id |
|
win Optional | any | window |
optional window (used for testing) |
Returns
UserSession | null
Function defined in common/src/utils/sessionLocalStorage.ts:30