Methods
(static) getToken() → {string}
get user token from local storage
Returns:
response data
- Type
- string
(static) setToken(string)
Sets token in Authorization header and local storage
Parameters:
Name | Type | Description |
---|---|---|
string |
token |
|