Supports exchanging the code for tokens, or refreshing an access token using [Auth.refreshAccessToken][com.nylas.resources.Auth.refreshAccessToken].
Email address of the grant that is created.
The remaining lifetime of the access token in seconds.
Nylas grant ID that is now successfully created.
Optional idA JWT that contains identity information about the user that is digitally signed by Nylas.
Optional providerThe provider that the code was exchanged with.
Optional refreshOnly returned if the code was requested using [AccessType.OFFLINE][com.nylas.models.AccessType.OFFLINE].
List of scopes associated with this token.
Optional tokenCurrently always Bearer.
Generated using TypeDoc
Interface of a Nylas code exchange response