public interface ApplicationResource
Modifier and Type | Method and Description |
---|---|
CredentialRepresentation |
generateNewSecret() |
Set<String> |
getAllowedOrigins() |
ClaimRepresentation |
getClaims() |
String |
getInstallationJbossXml() |
String |
getInstallationJson() |
RoleMappingResource |
getScopeMappings() |
CredentialRepresentation |
getSecret() |
void |
logoutAllUsers() |
void |
logoutUser(String username) |
void |
pushRevocation() |
void |
remove() |
void |
removeAllowedOrigins(Set<String> originsToRemove) |
RolesResource |
roles() |
ApplicationRepresentation |
toRepresentation() |
void |
update(ApplicationRepresentation applicationRepresentation) |
void |
updateAllowedOrigins(Set<String> allowedOrigins) |
void |
updateClaims(ClaimRepresentation claimRepresentation) |
@GET @Produces(value="application/json") ApplicationRepresentation toRepresentation()
@PUT @Consumes(value="application/json") void update(ApplicationRepresentation applicationRepresentation)
@DELETE void remove()
@GET @Path(value="allowed-origins") @Produces(value="application/json") Set<String> getAllowedOrigins()
@PUT @Path(value="allowed-origins") @Consumes(value="application/json") void updateAllowedOrigins(Set<String> allowedOrigins)
@DELETE @Path(value="allowed-origins") @Consumes(value="application/json") void removeAllowedOrigins(Set<String> originsToRemove)
@GET @Path(value="claims") @Produces(value="application/json") ClaimRepresentation getClaims()
@PUT @Path(value="claims") @Consumes(value="application/json") void updateClaims(ClaimRepresentation claimRepresentation)
@POST @Path(value="client-secret") @Produces(value="application/json") CredentialRepresentation generateNewSecret()
@GET @Path(value="client-secret") @Produces(value="application/json") CredentialRepresentation getSecret()
@GET @Path(value="installation/jboss") @Produces(value="application/xml") String getInstallationJbossXml()
@GET @Path(value="installation/json") @Produces(value="application/json") String getInstallationJson()
@POST @Path(value="logout-all") void logoutAllUsers()
@POST @Path(value="logout-user/{username}") void logoutUser(@PathParam(value="username") String username)
@POST @Path(value="push-revocation") void pushRevocation()
@Path(value="/scope-mappings") RoleMappingResource getScopeMappings()
@Path(value="/roles") RolesResource roles()
Copyright © 2015. All Rights Reserved.