clearSession

Function

DEPRECATED: Applications should manage storage/retrieval of serialized ArcGISContexts. Please see ArcGISContextManager.serialize(...) and ArcGISContextManager.deserialize(...) Remove any serialized sessions associated with the passed clientId from a browser's local storage

  • clearSession(clientId: string, win: any) : void

Parameters

Parameter Type Default Notes
clientId Required string

oAuth Client Id

win Optional any window

optional window (used for testing)

Returns

void

Function defined in common/src/utils/sessionLocalStorage.ts:11