Class AuthorizationEndpointChecker
- java.lang.Object
- 
- org.keycloak.protocol.oidc.endpoints.AuthorizationEndpointChecker
 
- 
 public class AuthorizationEndpointChecker extends Object Implements some checks typical for OIDC Authorization Endpoint. Useful to consolidate various checks on single place to avoid duplicated code logic in different contexts (OIDC Authorization Endpoint triggered from browser, PAR)- Author:
- Marek Posolda
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classAuthorizationEndpointChecker.AuthorizationCheckException
 - 
Constructor SummaryConstructors Constructor Description AuthorizationEndpointChecker()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckInvalidRequestMessage()voidcheckOIDCParams()voidcheckOIDCRequest()voidcheckParRequired()voidcheckPKCEParams()voidcheckRedirectUri()voidcheckResponseType()voidcheckValidScope()AuthorizationEndpointCheckerclient(ClientModel client)AuthorizationEndpointCheckerevent(EventBuilder event)OIDCResponseModegetParsedResponseMode()OIDCResponseTypegetParsedResponseType()StringgetRedirectUri()booleanisInvalidResponseType(AuthorizationEndpointChecker.AuthorizationCheckException ex)AuthorizationEndpointCheckerparams(javax.ws.rs.core.MultivaluedMap<String,String> params)AuthorizationEndpointCheckerrealm(RealmModel realm)AuthorizationEndpointCheckerrequest(AuthorizationEndpointRequest request)AuthorizationEndpointCheckersession(KeycloakSession session)
 
- 
- 
- 
Method Detail- 
eventpublic AuthorizationEndpointChecker event(EventBuilder event) 
 - 
requestpublic AuthorizationEndpointChecker request(AuthorizationEndpointRequest request) 
 - 
sessionpublic AuthorizationEndpointChecker session(KeycloakSession session) 
 - 
clientpublic AuthorizationEndpointChecker client(ClientModel client) 
 - 
realmpublic AuthorizationEndpointChecker realm(RealmModel realm) 
 - 
paramspublic AuthorizationEndpointChecker params(javax.ws.rs.core.MultivaluedMap<String,String> params) 
 - 
getRedirectUripublic String getRedirectUri() 
 - 
getParsedResponseTypepublic OIDCResponseType getParsedResponseType() 
 - 
getParsedResponseModepublic OIDCResponseMode getParsedResponseMode() 
 - 
checkRedirectUripublic void checkRedirectUri() throws AuthorizationEndpointChecker.AuthorizationCheckException
 - 
checkResponseTypepublic void checkResponseType() throws AuthorizationEndpointChecker.AuthorizationCheckException
 - 
isInvalidResponseTypepublic boolean isInvalidResponseType(AuthorizationEndpointChecker.AuthorizationCheckException ex) 
 - 
checkInvalidRequestMessagepublic void checkInvalidRequestMessage() throws AuthorizationEndpointChecker.AuthorizationCheckException
 - 
checkOIDCRequestpublic void checkOIDCRequest() 
 - 
checkValidScopepublic void checkValidScope() throws AuthorizationEndpointChecker.AuthorizationCheckException
 - 
checkOIDCParamspublic void checkOIDCParams() throws AuthorizationEndpointChecker.AuthorizationCheckException
 - 
checkPKCEParamspublic void checkPKCEParams() throws AuthorizationEndpointChecker.AuthorizationCheckException
 - 
checkParRequiredpublic void checkParRequired() throws AuthorizationEndpointChecker.AuthorizationCheckException
 
- 
 
-