Search in sources :

Example 1 with TokenRevocationEndpoint

use of org.keycloak.protocol.oidc.endpoints.TokenRevocationEndpoint in project keycloak by keycloak.

the class OIDCLoginProtocolService method revoke.

@Path("revoke")
public Object revoke() {
    TokenRevocationEndpoint endpoint = new TokenRevocationEndpoint(realm, event);
    ResteasyProviderFactory.getInstance().injectProperties(endpoint);
    return endpoint;
}
Also used : TokenRevocationEndpoint(org.keycloak.protocol.oidc.endpoints.TokenRevocationEndpoint) Path(javax.ws.rs.Path)

Aggregations

Path (javax.ws.rs.Path)1 TokenRevocationEndpoint (org.keycloak.protocol.oidc.endpoints.TokenRevocationEndpoint)1