import { AUTHENTICATION_TOKEN } from '../utils' ; import { TGetAuthenticationToken , TRemoveAutheticationToken , TSetAuthenticationToken , } from './types' ; export const setAuthenticationToken = ( token ) => { localStorage . setItem ( AUTHENTICATION_TOKEN , token ) ; } ; export const getAuthenticationToken = ( ) => { return localStorage . getItem ( AUTHENTICATION_TOKEN ) ; } ; export const removeAuthenticationToken = ( ) => { localStorage . removeItem ( AUTHENTICATION_TOKEN ) ; } ;