clearSession

Function

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:9