Search in sources :

Example 1 with AuthorizationEndpoint

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

the class OIDCLoginProtocolService method registrations.

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

Example 2 with AuthorizationEndpoint

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

the class OIDCLoginProtocolService method auth.

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

Example 3 with AuthorizationEndpoint

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

the class OIDCLoginProtocolService method forgotCredentialsPage.

/**
 * Forgot-Credentials endpoint
 */
@Path("forgot-credentials")
public Object forgotCredentialsPage() {
    AuthorizationEndpoint endpoint = new AuthorizationEndpoint(realm, event);
    ResteasyProviderFactory.getInstance().injectProperties(endpoint);
    return endpoint.forgotCredentials();
}
Also used : AuthorizationEndpoint(org.keycloak.protocol.oidc.endpoints.AuthorizationEndpoint) Path(javax.ws.rs.Path)

Aggregations

Path (javax.ws.rs.Path)3 AuthorizationEndpoint (org.keycloak.protocol.oidc.endpoints.AuthorizationEndpoint)3