Package org.keycloak.protocol.openshift
Class OpenShiftTokenReviewEndpoint
- java.lang.Object
- 
- org.keycloak.protocol.openshift.OpenShiftTokenReviewEndpoint
 
- 
- All Implemented Interfaces:
- OIDCExtProvider,- EnvironmentDependentProviderFactory,- Provider
 
 public class OpenShiftTokenReviewEndpoint extends Object implements OIDCExtProvider, EnvironmentDependentProviderFactory - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Constructor SummaryConstructors Constructor Description OpenShiftTokenReviewEndpoint(KeycloakSession session)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSupported()voidsetEvent(EventBuilder event)javax.ws.rs.core.ResponsetokenReview(String clientId, OpenShiftTokenReviewRequestRepresentation reviewRequest)javax.ws.rs.core.ResponsetokenReview(OpenShiftTokenReviewRequestRepresentation reviewRequest)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactoryisSupported
 - 
Methods inherited from interface org.keycloak.protocol.oidc.ext.OIDCExtProviderclose
 
- 
 
- 
- 
- 
Constructor Detail- 
OpenShiftTokenReviewEndpointpublic OpenShiftTokenReviewEndpoint(KeycloakSession session) 
 
- 
 - 
Method Detail- 
setEventpublic void setEvent(EventBuilder event) - Specified by:
- setEventin interface- OIDCExtProvider
 
 - 
tokenReview@Path("/") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response tokenReview(OpenShiftTokenReviewRequestRepresentation reviewRequest) throws Exception- Throws:
- Exception
 
 - 
tokenReview@Path("/{client_id}") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response tokenReview(@PathParam("client_id") String clientId, OpenShiftTokenReviewRequestRepresentation reviewRequest) throws Exception- Throws:
- Exception
 
 - 
isSupportedpublic boolean isSupported() - Specified by:
- isSupportedin interface- EnvironmentDependentProviderFactory
- Returns:
- trueif the provider is supported and should be available,- falseotherwise
 
 
- 
 
-