setAuth method
Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests.
Implementation
Session setAuth(String accessToken) =>
currentSession = currentSession?.copyWith(accessToken: accessToken) ??
Session(accessToken: accessToken, tokenType: 'bearer');