public class ClaimResource extends Object
Modifier and Type | Field and Description |
---|---|
protected RealmAuth |
auth |
protected ClientModel |
model |
Constructor and Description |
---|
ClaimResource(ClientModel model,
RealmAuth auth) |
Modifier and Type | Method and Description |
---|---|
ClaimRepresentation |
getClaims()
Get the claims a client is allowed to ask for
|
void |
updateClaims(ClaimRepresentation rep)
Set the cliams a client is allowed to ask for.
|
protected ClientModel model
protected RealmAuth auth
public ClaimResource(ClientModel model, RealmAuth auth)
@GET @Produces(value="application/json") public ClaimRepresentation getClaims()
@PUT @Consumes(value="application/json") public void updateClaims(ClaimRepresentation rep)
rep
- Copyright © 2014. All Rights Reserved.