public interface ClientCredentialsRequestValidator
Modifier and Type | Method and Description |
---|---|
void |
validateRequest(OAuth2Request request,
ClientRegistration clientRegistration)
Validates that the OAuth2 request contains the valid parameters for the OAuth2 client credentials 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.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.InvalidRequestException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.