Interface AuthorizationRequest
- All Known Subinterfaces:
OauthAuthorizationRequest
,OpenIdAuthorizationRequest
public interface AuthorizationRequest
OAuth 2.0 Authorization Request.
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
default @NonNull Optional<PkceChallenge>
getPkceChallenge
(@NonNull io.micronaut.http.MutableHttpResponse<?> response) @NonNull String
getState
(io.micronaut.http.MutableHttpResponse<?> response)
-
Field Details
-
PARAMETER_SCOPE
- See Also:
-
PARAMETER_RESPONSE_TYPE
- See Also:
-
PARAMETER_CLIENT_ID
- See Also:
-
PARAMETER_REDIRECT_URI
- See Also:
-
PARAMETER_STATE
- See Also:
-
PARAMETER_PKCE_CODE_CHALLENGE
- See Also:
-
PARAMETER_PKCE_CODE_CHALLENGE_METHOD
- See Also:
-
-
Method Details
-
getScopes
- Returns:
- OAuth 2.0 scopes.
-
getClientId
- Returns:
- OAuth 2.0 Client Identifier valid at the Authorization Server.
-
getState
- Parameters:
response
- authorization redirect response- Returns:
- Opaque value used to maintain state between the request and the callback.
-
getResponseType
- Returns:
- OAuth 2.0 Response Type value that determines the authorization processing flow to be used, including what parameters are returned from the endpoints used.
-
getRedirectUri
- Returns:
- Redirection URI to which the response will be sent.
-
getPkceChallenge
@NonNull default @NonNull Optional<PkceChallenge> getPkceChallenge(@NonNull @NonNull io.micronaut.http.MutableHttpResponse<?> response) - Parameters:
response
- HTTP Response- Returns:
- The PCKE challenge
- Since:
- 3.9.0
- See Also:
-