public class OpenShiftTokenReviewEndpoint extends Object implements OIDCExtProvider, EnvironmentDependentProviderFactory
Constructor and Description |
---|
OpenShiftTokenReviewEndpoint(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSupported() |
void |
setEvent(EventBuilder event) |
javax.ws.rs.core.Response |
tokenReview(OpenShiftTokenReviewRequestRepresentation reviewRequest) |
javax.ws.rs.core.Response |
tokenReview(String clientId,
OpenShiftTokenReviewRequestRepresentation reviewRequest) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public OpenShiftTokenReviewEndpoint(KeycloakSession session)
public void setEvent(EventBuilder event)
setEvent
in interface OIDCExtProvider
@Path(value="/") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response tokenReview(OpenShiftTokenReviewRequestRepresentation reviewRequest) throws Exception
Exception
@Path(value="/{client_id}") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response tokenReview(@PathParam(value="client_id") String clientId, OpenShiftTokenReviewRequestRepresentation reviewRequest) throws Exception
Exception
public boolean isSupported()
isSupported
in interface EnvironmentDependentProviderFactory
true
if the provider is supported and should be available, false
otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.