public class ClientTemplateResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected KeycloakApplication |
keycloak |
protected static org.jboss.logging.Logger |
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 |
|---|---|
void |
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 org.jboss.logging.Logger 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()
public ProtocolMappersResource getProtocolMappers()
public ScopeMappedResource getScopeMappedResource()
public javax.ws.rs.core.Response update(ClientTemplateRepresentation rep)
rep - public ClientTemplateRepresentation getClient()
public void deleteClientTemplate()
Copyright © 2016 JBoss by Red Hat. All rights reserved.