Class Claims
- java.lang.Object
-
- io.jans.as.server.uma.authorization.Claims
-
public class Claims extends java.lang.Object
- Author:
- yuriyz on 06/02/2017.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.String key)
java.lang.String
getClaimsTokenAsString()
java.lang.Object
getClaimTokenClaim(java.lang.String key)
java.lang.Object
getPctClaim(java.lang.String key)
boolean
has(java.lang.String key)
java.util.Set<java.lang.String>
keys()
void
put(java.lang.String key, java.lang.Object value)
void
removeClaim(java.lang.String key)
-
-
-
Constructor Detail
-
Claims
public Claims(io.jans.as.model.jwt.Jwt claimsToken, UmaPCT pct, java.lang.String claimsTokenAsString)
-
-
Method Detail
-
getClaimsTokenAsString
public java.lang.String getClaimsTokenAsString()
-
keys
public java.util.Set<java.lang.String> keys()
-
get
public java.lang.Object get(java.lang.String key)
-
getClaimTokenClaim
public java.lang.Object getClaimTokenClaim(java.lang.String key)
-
getPctClaim
public java.lang.Object getPctClaim(java.lang.String key)
-
has
public boolean has(java.lang.String key)
-
put
public void put(java.lang.String key, java.lang.Object value)
-
removeClaim
public void removeClaim(java.lang.String key)
-
-