View Source Frontend/src/utils/index.js, line 4 Methods # static getToken() → {string} Get user token from local storage View Source client/src/utils/index.ts, line 14 Returns: response data Type: string # static setToken(string) Set token in Authorization header and local storage Parameters: Name Type Description string token updatedToken View Source client/src/utils/index.ts, line 21
This module contains token functions, View Source client/src/utils/index.ts, line 4 Methods # static getToken() → {string} Get user token from local storage View Source client/src/utils/index.ts, line 14 Returns: response data Type: string # static setToken(string) Set token in Authorization header and local storage Parameters: Name Type Description string token updatedToken View Source client/src/utils/index.ts, line 21