public interface ClientResource
| Modifier and Type | Method and Description |
|---|---|
CredentialRepresentation |
generateNewSecret() |
Map<String,Integer> |
getApplicationSessionCount() |
ClientAttributeCertificateResource |
getCertficateResource(String attributePrefix)
Get representation of certificate resource
|
String |
getInstallationProvider(String providerId) |
ProtocolMappersResource |
getProtocolMappers() |
RoleMappingResource |
getScopeMappings() |
CredentialRepresentation |
getSecret() |
List<UserSessionRepresentation> |
getUserSessions(Integer firstResult,
Integer maxResults) |
void |
pushRevocation() |
ClientRepresentation |
regenerateRegistrationAccessToken()
Generate a new registration access token for the client
|
void |
remove() |
RolesResource |
roles() |
ClientRepresentation |
toRepresentation() |
void |
update(ClientRepresentation clientRepresentation) |
@Path(value="protocol-mappers") ProtocolMappersResource getProtocolMappers()
@GET @Produces(value="application/json") ClientRepresentation toRepresentation()
@PUT @Consumes(value="application/json") void update(ClientRepresentation clientRepresentation)
@DELETE void remove()
@POST @Path(value="client-secret") @Produces(value="application/json") CredentialRepresentation generateNewSecret()
@GET @Path(value="client-secret") @Produces(value="application/json") CredentialRepresentation getSecret()
@Path(value="registration-access-token") @POST @Produces(value="application/json") @Consumes(value="application/json") ClientRepresentation regenerateRegistrationAccessToken()
@Path(value="certificates/{attr}")
ClientAttributeCertificateResource getCertficateResource(@PathParam(value="attr")
String attributePrefix)
attributePrefix - @GET
@Path(value="installation/providers/{providerId}")
String getInstallationProvider(@PathParam(value="providerId")
String providerId)
@Path(value="session-count") @GET @Produces(value="application/json") Map<String,Integer> getApplicationSessionCount()
@Path(value="user-sessions") @GET @Produces(value="application/json") List<UserSessionRepresentation> getUserSessions(@QueryParam(value="first") Integer firstResult, @QueryParam(value="max") Integer maxResults)
@POST @Path(value="push-revocation") void pushRevocation()
@Path(value="/scope-mappings") RoleMappingResource getScopeMappings()
@Path(value="/roles") RolesResource roles()
Copyright © 2016 JBoss by Red Hat. All rights reserved.