Search in sources :

Example 1 with ClientRegistrationService

use of org.keycloak.services.clientregistration.ClientRegistrationService in project keycloak by keycloak.

the class RealmsResource method getClientsService.

@Path("{realm}/clients-registrations")
public ClientRegistrationService getClientsService(@PathParam("realm") final String name) {
    RealmModel realm = init(name);
    EventBuilder event = new EventBuilder(realm, session, clientConnection);
    ClientRegistrationService service = new ClientRegistrationService(event);
    ResteasyProviderFactory.getInstance().injectProperties(service);
    return service;
}
Also used : RealmModel(org.keycloak.models.RealmModel) EventBuilder(org.keycloak.events.EventBuilder) ClientRegistrationService(org.keycloak.services.clientregistration.ClientRegistrationService) Path(javax.ws.rs.Path)

Aggregations

Path (javax.ws.rs.Path)1 EventBuilder (org.keycloak.events.EventBuilder)1 RealmModel (org.keycloak.models.RealmModel)1 ClientRegistrationService (org.keycloak.services.clientregistration.ClientRegistrationService)1