Called when the Authorization
header is removed.
Called when the Authorization
header is set.
Called when the Authorization
header is set.
Removes the Authorization
header if the response status code is 401
,
or if the Set-Authorization
header is included in the error response,
sets the header and user ID to device ID.
If the Set-Authorization
header is included in the response,
sets the header and user ID to device ID.
Removes the Authorization
header from the API client (axios
instance)
and removes it from localStorage
.
Sets the Authorization
header on the API client (axios
instance)
and saves it within localStorage
.
Generated using TypeDoc
Methods for API authorization management.