public class OpenIdConnectAuthorizeRequestValidator extends Object implements AuthorizeRequestValidator
Constructor and Description |
---|
OpenIdConnectAuthorizeRequestValidator(ClientRegistrationStore clientRegistrationStore)
Constructs a new OpenIdConnectAuthorizeRequestValidator instance.
|
Modifier and Type | Method and Description |
---|---|
void |
validateRequest(OAuth2Request request)
Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorize endpoint.
|
@Inject public OpenIdConnectAuthorizeRequestValidator(ClientRegistrationStore clientRegistrationStore)
clientRegistrationStore
- An instance of the ClientRegistrationStore.public void validateRequest(OAuth2Request request) throws BadRequestException, InvalidRequestException, InvalidClientException, InvalidScopeException, NotFoundException
validateRequest
in interface AuthorizeRequestValidator
request
- The OAuth2Request for the client requesting authorization. Must not be null
.BadRequestException
- If the request is malformed.InvalidRequestException
- If the request is missing any required parameters or is otherwise malformed.InvalidClientException
- If either the request does not contain the client's id or the client fails to be
authenticated.InvalidScopeException
- If the requested scope is invalid, unknown, or malformed.NotFoundException
- If the realm does not have an OAuth 2.0 provider service.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.