Class PermissionTicketToken
- java.lang.Object
-
- org.keycloak.representations.JsonWebToken
-
- org.keycloak.representations.idm.authorization.PermissionTicketToken
-
- All Implemented Interfaces:
Serializable
,Token
public class PermissionTicketToken extends JsonWebToken
- Author:
- Pedro Igor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PermissionTicketToken()
PermissionTicketToken(List<Permission> resources)
PermissionTicketToken(List<Permission> permissions, String audience, AccessToken accessToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<String>>
getClaims()
List<Permission>
getPermissions()
void
setClaims(Map<String,List<String>> claims)
-
Methods inherited from class org.keycloak.representations.JsonWebToken
addAudience, audience, exp, expiration, getAudience, getCategory, getExp, getExpiration, getIat, getId, getIssuedAt, getIssuedFor, getIssuer, getNbf, getNotBefore, getOtherClaims, getSubject, getType, hasAnyAudience, hasAudience, iat, id, isActive, isActive, isExpired, isIssuedBeforeSessionStart, isNotBefore, issuedAt, issuedFor, issuedNow, issuer, nbf, notBefore, setOtherClaims, setSubject, subject, type
-
-
-
-
Constructor Detail
-
PermissionTicketToken
public PermissionTicketToken()
-
PermissionTicketToken
public PermissionTicketToken(List<Permission> permissions, String audience, AccessToken accessToken)
-
PermissionTicketToken
public PermissionTicketToken(List<Permission> resources)
-
-