public class ClientTemplateResource extends Object
Modifier and Type | Field and Description |
---|---|
protected KeycloakApplication |
keycloak |
protected static ServicesLogger |
logger |
protected RealmModel |
realm |
protected KeycloakSession |
session |
protected ClientTemplateModel |
template |
protected javax.ws.rs.core.UriInfo |
uriInfo |
Constructor and Description |
---|
ClientTemplateResource(RealmModel realm,
RealmAuth auth,
ClientTemplateModel template,
KeycloakSession session,
AdminEventBuilder adminEvent) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteClientTemplate()
Delete the client template
|
ClientTemplateRepresentation |
getClient()
Get representation of the client template
|
protected KeycloakApplication |
getKeycloakApplication() |
ProtocolMappersResource |
getProtocolMappers() |
ScopeMappedResource |
getScopeMappedResource()
Base path for managing the scope mappings for the client
|
javax.ws.rs.core.Response |
update(ClientTemplateRepresentation rep)
Update the client template
|
protected static final ServicesLogger logger
protected RealmModel realm
protected ClientTemplateModel template
protected KeycloakSession session
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Context protected KeycloakApplication keycloak
public ClientTemplateResource(RealmModel realm, RealmAuth auth, ClientTemplateModel template, KeycloakSession session, AdminEventBuilder adminEvent)
protected KeycloakApplication getKeycloakApplication()
@Path(value="protocol-mappers") public ProtocolMappersResource getProtocolMappers()
@Path(value="scope-mappings") public ScopeMappedResource getScopeMappedResource()
@PUT @Consumes(value="application/json") public javax.ws.rs.core.Response update(ClientTemplateRepresentation rep)
rep
- @GET @Produces(value="application/json") public ClientTemplateRepresentation getClient()
@DELETE public javax.ws.rs.core.Response deleteClientTemplate()
Copyright © 2016 JBoss by Red Hat. All rights reserved.