public class OAuth20AuthorizationCodeResponseTypeAuthorizationRequestValidator extends java.lang.Object implements OAuth20AuthorizationRequestValidator
| Constructor and Description |
|---|
OAuth20AuthorizationCodeResponseTypeAuthorizationRequestValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apereo.cas.support.oauth.services.OAuthRegisteredService |
getRegisteredServiceByClientId(java.lang.String clientId)
Gets registered service by client id.
|
OAuth20ResponseTypes |
getResponseType()
Gets response type.
|
boolean |
supports(org.pac4j.core.context.J2EContext context)
Supports request?
|
boolean |
validate(org.pac4j.core.context.J2EContext context)
Validate request.
|
public OAuth20AuthorizationCodeResponseTypeAuthorizationRequestValidator()
public boolean validate(org.pac4j.core.context.J2EContext context)
OAuth20RequestValidatorvalidate in interface OAuth20RequestValidatorcontext - the contextprotected org.apereo.cas.support.oauth.services.OAuthRegisteredService getRegisteredServiceByClientId(java.lang.String clientId)
clientId - the client idpublic boolean supports(org.pac4j.core.context.J2EContext context)
OAuth20RequestValidatorsupports in interface OAuth20RequestValidatorcontext - the contextpublic OAuth20ResponseTypes getResponseType()