Token Exchange Request
Class representation of a Nylas token exchange request
Constructors
Link copied to clipboard
public TokenExchangeRequest TokenExchangeRequest(@Json(name = "redirect_uri" ) String redirectUri, @Json(name = "refresh_token" ) String refreshToken, @Json(name = "client_id" ) String clientId, @Json(name = "client_secret" ) String clientSecret)
Types
Link copied to clipboard
A builder for creating a TokenExchangeRequest.
Properties
Link copied to clipboard
Client secret of the application. If not provided, the API Key will be used instead.
Link copied to clipboard
Should match the same redirect URI that was used for getting the code during the initial authorization request.
Link copied to clipboard
Token to refresh/request your short-lived access token
Functions
Link copied to clipboard
Client ID of the application.
Link copied to clipboard
Client secret of the application. If not provided, the API Key will be used instead.
Link copied to clipboard
Should match the same redirect URI that was used for getting the code during the initial authorization request.
Link copied to clipboard
Token to refresh/request your short-lived access token
Link copied to clipboard
Client ID of the application.
Link copied to clipboard
Client secret of the application. If not provided, the API Key will be used instead.