public class OIDCClientRegistrationProvider extends AbstractClientRegistrationProvider
auth, event, session
Constructor and Description |
---|
OIDCClientRegistrationProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.ws.rs.core.Response |
createOIDC(OIDCClientRepresentation clientOIDC) |
void |
deleteOIDC(String clientId) |
javax.ws.rs.core.Response |
getOIDC(String clientId) |
void |
setAuth(ClientRegistrationAuth auth) |
void |
setEvent(EventBuilder event) |
javax.ws.rs.core.Response |
updateOIDC(String clientId,
OIDCClientRepresentation clientOIDC) |
create, delete, get, update
public OIDCClientRegistrationProvider(KeycloakSession session)
@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createOIDC(OIDCClientRepresentation clientOIDC)
@GET @Path(value="{clientId}") @Produces(value="application/json") public javax.ws.rs.core.Response getOIDC(@PathParam(value="clientId") String clientId)
@PUT @Path(value="{clientId}") @Consumes(value="application/json") public javax.ws.rs.core.Response updateOIDC(@PathParam(value="clientId") String clientId, OIDCClientRepresentation clientOIDC)
@DELETE @Path(value="{clientId}") public void deleteOIDC(@PathParam(value="clientId") String clientId)
public void setAuth(ClientRegistrationAuth auth)
setAuth
in interface ClientRegistrationProvider
setAuth
in class AbstractClientRegistrationProvider
public void setEvent(EventBuilder event)
setEvent
in interface ClientRegistrationProvider
setEvent
in class AbstractClientRegistrationProvider
public void close()
close
in interface Provider
close
in class AbstractClientRegistrationProvider
Copyright © 2016 JBoss by Red Hat. All rights reserved.