Package com.inrupt.client.openid
Class AuthorizationRequest
java.lang.Object
com.inrupt.client.openid.AuthorizationRequest
A class representing an authorization request at an OpenID provider.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the OAuth 2.0 client id.Get the PKCE code challenge.Get the PKCE code challenge method.getNonce()
Get the OpenID Connect nonce value.Get the OAuth 2.0 redirect URI.Get the OAuth 2.0 response type.getScope()
Get the OAuth 2.0 scope value.getState()
Get the OAuth 2.0 state value.static AuthorizationRequest.Builder
Create a new builder object for an authorization request.
-
Method Details
-
getResponseType
Get the OAuth 2.0 response type.- Returns:
- the response type
-
getScope
Get the OAuth 2.0 scope value.The response will be a space-delimited string of scope values.
- Returns:
- the scope value
-
getCodeChallenge
Get the PKCE code challenge.- Returns:
- the code challenge value.
-
getCodeChallengeMethod
Get the PKCE code challenge method.- Returns:
- the code challenge method
-
getClientId
Get the OAuth 2.0 client id.- Returns:
- the client id
-
getRedirectUri
Get the OAuth 2.0 redirect URI.- Returns:
- the redirect URI
-
getState
Get the OAuth 2.0 state value.- Returns:
- the state value
-
getNonce
Get the OpenID Connect nonce value.- Returns:
- the nonce value
-
newBuilder
Create a new builder object for an authorization request.- Returns:
- a new builder
-