Builder

public final class 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

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Set the client ID.

Link copied to clipboard
public final TokenExchangeRequest.Builder clientSecret(String clientSecret)

Set the client secret.