public interface AuthorizationCodeRequestValidator
Modifier and Type | Method and Description |
---|---|
void |
validateRequest(OAuth2Request request,
ClientRegistration clientRegistration)
Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorization code grant.
|
void validateRequest(OAuth2Request request, ClientRegistration clientRegistration) throws UnauthorizedClientException, InvalidRequestException, RedirectUriMismatchException, InvalidClientException
request
- The OAuth2 request. Must not be null
.clientRegistration
- The registration of the client making the request.UnauthorizedClientException
- If the client's authorization fails.InvalidRequestException
- If the request is missing any required parameters or is otherwise malformed.RedirectUriMismatchException
- If the redirect uri on the request does not match the redirect uri
registered for the client.InvalidClientException
- If either the request does not contain the client's id or the client fails to be
authenticated.IllegalArgumentException
- If the request is missing any required parameters.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.