public class ClientsResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.jboss.logging.Logger |
logger |
protected RealmModel |
realm |
protected KeycloakSession |
session |
| Constructor and Description |
|---|
ClientsResource(RealmModel realm,
RealmAuth auth,
AdminEventBuilder adminEvent) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createClient(javax.ws.rs.core.UriInfo uriInfo,
ClientRepresentation rep)
Create a new client
Client's client_id must be unique!
|
ClientResource |
getClient(String id)
Base path for managing a specific client.
|
List<ClientRepresentation> |
getClients()
Get clients belonging to the realm
Returns a list of clients belonging to the realm
|
protected static final org.jboss.logging.Logger logger
protected RealmModel realm
@Context protected KeycloakSession session
public ClientsResource(RealmModel realm, RealmAuth auth, AdminEventBuilder adminEvent)
public List<ClientRepresentation> getClients()
public javax.ws.rs.core.Response createClient(@Context
javax.ws.rs.core.UriInfo uriInfo,
ClientRepresentation rep)
uriInfo - rep - public ClientResource getClient(String id)
id - id of client (not client-id)Copyright © 2016 JBoss by Red Hat. All rights reserved.