Class DefaultClientRegistrationProvider
- java.lang.Object
-
- org.keycloak.services.clientregistration.AbstractClientRegistrationProvider
-
- org.keycloak.services.clientregistration.DefaultClientRegistrationProvider
-
- All Implemented Interfaces:
Provider
,ClientRegistrationProvider
public class DefaultClientRegistrationProvider extends AbstractClientRegistrationProvider
- Author:
- Stian Thorgersen
-
-
Field Summary
-
Fields inherited from class org.keycloak.services.clientregistration.AbstractClientRegistrationProvider
auth, event, session
-
-
Constructor Summary
Constructors Constructor Description DefaultClientRegistrationProvider(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createDefault(ClientRepresentation client)
void
deleteDefault(String clientId)
javax.ws.rs.core.Response
getDefault(String clientId)
javax.ws.rs.core.Response
updateDefault(String clientId, ClientRepresentation client)
-
Methods inherited from class org.keycloak.services.clientregistration.AbstractClientRegistrationProvider
close, create, delete, get, getAuth, getEvent, setAuth, setEvent, update, validateClient, validateClient
-
-
-
-
Constructor Detail
-
DefaultClientRegistrationProvider
public DefaultClientRegistrationProvider(KeycloakSession session)
-
-
Method Detail
-
createDefault
@POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response createDefault(ClientRepresentation client)
-
getDefault
@GET @Path("{clientId}") @Produces("application/json") public javax.ws.rs.core.Response getDefault(@PathParam("clientId") String clientId)
-
updateDefault
@PUT @Path("{clientId}") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response updateDefault(@PathParam("clientId") String clientId, ClientRepresentation client)
-
deleteDefault
@DELETE @Path("{clientId}") public void deleteDefault(@PathParam("clientId") String clientId)
-
-