blob: e176215e6c33a55928ad3a3838bb9d456ef5793f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { getItem, removeItem, setItem } from '@/lib/storage';
import { AUTH_TOKEN } from './constants';
export function getClientAuthToken() {
return getItem(AUTH_TOKEN);
}
export function setClientAuthToken(token: string) {
setItem(AUTH_TOKEN, token);
}
export function removeClientAuthToken() {
removeItem(AUTH_TOKEN);
}
|