forked from potsda.mn/mobilizon
6bceb5b463
Also it now saves current actor in localStorage and initalizes it in Apollo Cache (just like user stuff). This allows not relying on loggedPerson query anymore. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
7 lines
308 B
TypeScript
7 lines
308 B
TypeScript
export const AUTH_ACCESS_TOKEN = 'auth-access-token';
|
|
export const AUTH_REFRESH_TOKEN = 'auth-refresh-token';
|
|
export const AUTH_USER_ID = 'auth-user-id';
|
|
export const AUTH_USER_EMAIL = 'auth-user-email';
|
|
export const AUTH_USER_ACTOR_ID = 'auth-user-actor-id';
|
|
export const AUTH_USER_ROLE = 'auth-user-role';
|