token: string): Promise<void>Update the auth token being used by the client. Use this when the old token is about to expire and you have refreshed it through OAuth2.
The new token that the client should start to use.
Promise<void>
Returns empty object when successful. Throws an error with the server’s error message when unsuccessful.