Builder
A builder for creating a TokenExchangeRequest.
Parameters
redirectUri
Should match the same redirect URI that was used for getting the code during the initial authorization request.
refreshToken
Token to refresh/request your short-lived access token
clientId
Client ID of the application.
Constructors
Link copied to clipboard
public TokenExchangeRequest.Builder TokenExchangeRequest.Builder(String redirectUri, String refreshToken, String clientId)
Functions
Link copied to clipboard
Build the TokenExchangeRequest.
Link copied to clipboard
Set the client secret. If not provided, the API Key will be used instead.