Module: Token

Source:

Methods

(static) getToken() → {string}

get user token from local storage

Source:
Returns:

response data

Type
string

(static) setToken(string)

Sets token in Authorization header and local storage

Parameters:
Name Type Description
string token

updatedToken

Source: