MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / storeClientTokenExpirations

Function storeClientTokenExpirations

apps/client/src/code/auth/tokens.ts:65–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65export function storeClientTokenExpirations(): void {
66 storeClientTokenExpiration('access', ACCESS_TOKEN_DURATION);
67 storeClientTokenExpiration(
68 'refresh',
69 getRefreshTokenExpiration(shouldRememberSession()),
70 );
71}
72
73export function clearClientTokenExpirations(): void {
74 internals.storage.removeItem('accessTokenExpiration');

Callers 2

loginFunction · 0.90
tryRefreshTokensFunction · 0.90

Calls 3

shouldRememberSessionFunction · 0.90

Tested by

no test coverage detected