TokenExchangeRequest.Builder

public TokenExchangeRequest.Builder TokenExchangeRequest.Builder(String redirectUri, String refreshToken, String clientId)

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.