Builder
A builder for creating a TokenExchangeRequest.
Parameters
redirect Uri
Should match the same redirect URI that was used for getting the code during the initial authorization request.
refresh Token
Token to refresh/request your short-lived access token
client Id
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.