JavaScript: setAuth
Updates the authorization header
Parameters
token
(Required)the new jwt token sent in the authorisation header
Examples
Setting the authorization header
functions.setAuth(session.access_token)
Updates the authorization header
the new jwt token sent in the authorisation header
functions.setAuth(session.access_token)