Package com.inrupt.client.openid
Class TokenRequest
java.lang.Object
com.inrupt.client.openid.TokenRequest
A class for representing a Token request.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authentication method.Get the client_id value.Get the client_secret value.getCode()
Get the authorization code value.Get the code_verifier value.Get the grant type value.Get the issuer.Get the redirect_uri value.Get the scope values.static TokenRequest.Builder
Create a new token request builder.
-
Method Details
-
getGrantType
Get the grant type value.- Returns:
- the grant type
-
getScopes
Get the scope values.- Returns:
- the scopes
-
getIssuer
Get the issuer.- Returns:
- the issuer, may be
null
-
getAuthMethod
Get the authentication method.- Returns:
- the authentication method
-
getCode
Get the authorization code value.- Returns:
- the authorization code
-
getCodeVerifier
Get the code_verifier value.- Returns:
- the code verifier
-
getClientId
Get the client_id value.- Returns:
- the client id
-
getClientSecret
Get the client_secret value.- Returns:
- the client secret
-
getRedirectUri
Get the redirect_uri value.- Returns:
- the redirect URI
-
newBuilder
Create a new token request builder.- Returns:
- the new builder
-