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.
OptionalidA JWT that contains identity information about the user that is digitally signed by Nylas.
OptionalproviderThe provider that the code was exchanged with.
OptionalrefreshOnly returned if the code was requested using [AccessType.OFFLINE][com.nylas.models.AccessType.OFFLINE].
List of scopes associated with this token.
OptionaltokenCurrently always Bearer.
Interface of a Nylas code exchange response