-
Notifications
You must be signed in to change notification settings - Fork 1
TokensPersistence
Jiří Čermák edited this page Dec 6, 2022
·
9 revisions
Tokens persistence defines how and where will be tokens stored and when they will be cleared:
-
LOCAL
(default) - Tokens are stored inIndexedDB
data storage. The state will be persisted even when the browser window is closed. An explicit action (e.g. successful sign out) is required in order to clear that state. -
SESSION
- Tokens are stored inSessionStorage
. -
NONE
- Tokens will only be stored in Redux Store and will be cleared when the window or activity is refreshed.
• LOCAL
src/modules/tokens/modules/storage/constants/index.ts:9
• NONE
src/modules/tokens/modules/storage/constants/index.ts:8
• SESSION