Package org.forgerock.oauth2.core
Class PasswordCredentialsRequestValidatorImpl
- java.lang.Object
-
- org.forgerock.oauth2.core.PasswordCredentialsRequestValidatorImpl
-
- All Implemented Interfaces:
PasswordCredentialsRequestValidator
public class PasswordCredentialsRequestValidatorImpl extends Object implements PasswordCredentialsRequestValidator
Implementation of the request validator for the OAuth2 password credentials grant.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Constructor Description PasswordCredentialsRequestValidatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidateRequest(OAuth2Request request, ClientRegistration clientRegistration)Validates that the OAuth2 request contains the valid parameters for the OAuth2 password credentials grant.
-
-
-
Method Detail
-
validateRequest
public void validateRequest(OAuth2Request request, ClientRegistration clientRegistration)
Validates that the OAuth2 request contains the valid parameters for the OAuth2 password credentials grant.- Specified by:
validateRequestin interfacePasswordCredentialsRequestValidator- Parameters:
request- The OAuth2 request. Must not benull.clientRegistration- The registration of the client making the request.
-
-