Search in sources :

Example 1 with LogoutEndpoint

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

the class OIDCLoginProtocolService method logout.

/* old deprecated logout endpoint needs to be removed in the future
    * https://issues.redhat.com/browse/KEYCLOAK-2940 */
@Path("logout")
public Object logout() {
    LogoutEndpoint endpoint = new LogoutEndpoint(tokenManager, realm, event);
    ResteasyProviderFactory.getInstance().injectProperties(endpoint);
    return endpoint;
}
Also used : LogoutEndpoint(org.keycloak.protocol.oidc.endpoints.LogoutEndpoint) Path(javax.ws.rs.Path)

Aggregations

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