JavaScript: setAuth

Updates the authorization header

Parameters

Examples

Setting the authorization header

functions.setAuth(session.access_token)