use of org.keycloak.protocol.ClientInstallationProvider in project keycloak by keycloak.
the class ClientResource method getInstallationProvider.
@GET
@NoCache
@Path("installation/providers/{providerId}")
public Response getInstallationProvider(@PathParam("providerId") String providerId) {
auth.clients().requireView(client);
ClientInstallationProvider provider = session.getProvider(ClientInstallationProvider.class, providerId);
if (provider == null)
throw new NotFoundException("Unknown Provider");
return provider.generateInstallation(session, realm, client, session.getContext().getUri().getBaseUri());
}
Aggregations