Search in sources :

Example 1 with TokenEndpoint

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

the class OIDCLoginProtocolService method token.

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

Aggregations

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