public class ClientRegistrationTrustedHostResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected KeycloakSession |
session |
protected javax.ws.rs.core.UriInfo |
uriInfo |
| Constructor and Description |
|---|
ClientRegistrationTrustedHostResource(RealmModel realm,
RealmAuth auth,
AdminEventBuilder adminEvent) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(ClientRegistrationTrustedHostRepresentation config)
Create a new initial access token.
|
void |
delete(String hostName) |
ClientRegistrationTrustedHostRepresentation |
getConfig(String hostName)
Get an initial access token.
|
List<ClientRegistrationTrustedHostRepresentation> |
list() |
javax.ws.rs.core.Response |
update(String hostName,
ClientRegistrationTrustedHostRepresentation config)
Update a new initial access token.
|
@Context protected KeycloakSession session
@Context protected javax.ws.rs.core.UriInfo uriInfo
public ClientRegistrationTrustedHostResource(RealmModel realm, RealmAuth auth, AdminEventBuilder adminEvent)
@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response create(ClientRegistrationTrustedHostRepresentation config)
config - @PUT
@Path(value="{hostname}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response update(@PathParam(value="hostname")
String hostName,
ClientRegistrationTrustedHostRepresentation config)
config - @GET
@Path(value="{hostname}")
@Produces(value="application/json")
public ClientRegistrationTrustedHostRepresentation getConfig(@PathParam(value="hostname")
String hostName)
hostName - @GET @Produces(value="application/json") public List<ClientRegistrationTrustedHostRepresentation> list()
@DELETE
@Path(value="{hostname}")
public void delete(@PathParam(value="hostname")
String hostName)
Copyright © 2016 JBoss by Red Hat. All rights reserved.