Builder
A builder for creating a CodeExchangeRequest.
Parameters
redirect Uri
Should match the same redirect URI that was used for getting the code during the initial authorization request.
code
OAuth 2.0 code fetched from the previous step.
client Id
Client ID of the application.
client Secret
Client secret of the application.
Constructors
Link copied to clipboard
public CodeExchangeRequest.Builder CodeExchangeRequest.Builder(String redirectUri, String code, String clientId, String clientSecret)
Functions
Link copied to clipboard
Build the CodeExchangeRequest.
Link copied to clipboard
Set the code verifier. Should be the original plain text code verifier (code_challenge) used in the initial authorization request (PKCE).