Search in sources :

Example 1 with DeviceEndpoint

use of org.keycloak.protocol.oidc.grants.device.endpoints.DeviceEndpoint in project keycloak by keycloak.

the class AuthorizationEndpoint method authorizeDevice.

/**
 * OAuth 2.0 Device Authorization endpoint
 */
@Path("device")
public Object authorizeDevice() {
    DeviceEndpoint endpoint = new DeviceEndpoint(realm, event);
    ResteasyProviderFactory.getInstance().injectProperties(endpoint);
    return endpoint;
}
Also used : DeviceEndpoint(org.keycloak.protocol.oidc.grants.device.endpoints.DeviceEndpoint) Path(javax.ws.rs.Path)

Aggregations

Path (javax.ws.rs.Path)1 DeviceEndpoint (org.keycloak.protocol.oidc.grants.device.endpoints.DeviceEndpoint)1