Class TokenRequest

java.lang.Object
com.inrupt.client.openid.TokenRequest

public final class TokenRequest extends Object
A class for representing a Token request.
  • Method Details

    • getGrantType

      public String getGrantType()
      Get the grant type value.
      Returns:
      the grant type
    • getScopes

      public List<String> getScopes()
      Get the scope values.
      Returns:
      the scopes
    • getIssuer

      public URI getIssuer()
      Get the issuer.
      Returns:
      the issuer, may be null
    • getAuthMethod

      public String getAuthMethod()
      Get the authentication method.
      Returns:
      the authentication method
    • getCode

      public String getCode()
      Get the authorization code value.
      Returns:
      the authorization code
    • getCodeVerifier

      public String getCodeVerifier()
      Get the code_verifier value.
      Returns:
      the code verifier
    • getClientId

      public String getClientId()
      Get the client_id value.
      Returns:
      the client id
    • getClientSecret

      public String getClientSecret()
      Get the client_secret value.
      Returns:
      the client secret
    • getRedirectUri

      public URI getRedirectUri()
      Get the redirect_uri value.
      Returns:
      the redirect URI
    • newBuilder

      public static TokenRequest.Builder newBuilder()
      Create a new token request builder.
      Returns:
      the new builder