public class JwtClaims extends JsonMapObject
Constructor and Description |
---|
JwtClaims() |
JwtClaims(Map<String,Object> values) |
Modifier and Type | Method and Description |
---|---|
String |
getAudience()
Get a single audience value.
|
List<String> |
getAudiences()
Get an array of audiences
|
Object |
getClaim(String name) |
Long |
getExpiryTime() |
Long |
getIssuedAt() |
String |
getIssuer() |
Long |
getNotBefore() |
String |
getSubject() |
String |
getTokenId() |
void |
setAudience(String audience)
Set a single audience value which will be serialized as a String
|
void |
setAudiences(List<String> audiences)
Set an array of audiences
|
JwtClaims |
setClaim(String name,
Object value) |
void |
setExpiryTime(Long expiresIn) |
void |
setIssuedAt(Long issuedAt) |
void |
setIssuer(String issuer) |
void |
setNotBefore(Long notBefore) |
void |
setSubject(String subject) |
void |
setTokenId(String id) |
asMap, containsProperty, equals, getBooleanProperty, getIntegerProperty, getJsonMapProperty, getListMapProperty, getListStringProperty, getLongProperty, getMapProperty, getProperty, getStringProperty, getUpdateCount, hashCode, removeProperty, setProperty, size
public void setIssuer(String issuer)
public String getIssuer()
public void setSubject(String subject)
public String getSubject()
public void setAudience(String audience)
audience
- the audiencepublic String getAudience()
public void setAudiences(List<String> audiences)
audiences
- the audiences arraypublic List<String> getAudiences()
public void setExpiryTime(Long expiresIn)
public Long getExpiryTime()
public void setNotBefore(Long notBefore)
public Long getNotBefore()
public void setIssuedAt(Long issuedAt)
public Long getIssuedAt()
public void setTokenId(String id)
public String getTokenId()
Apache CXF