Manage XeroToken data
masterThe XeroToken object maps the JSON response from Xero's OAuth2 endpoint. You should persist this token in your datastore to maintain the connection. To restore a connection using a stored token, pass it to RefreshAccessTokenAsync on an initialized XeroClient.
// Properties available on the XeroToken object:
xeroToken.AccessToken
xeroToken.RefreshToken
xeroToken.IdToken
xeroToken.TokenType
xeroToken.ExpiresAtUtc
// To restart a connection using a stored token:
// await client.RefreshAccessTokenAsync(storedToken);