public class DefaultClaims extends ParameterMap implements Claims
idiomaticValues, values| Modifier | Constructor and Description |
|---|---|
protected |
DefaultClaims() |
|
DefaultClaims(Map<String,?> map) |
|
DefaultClaims(ParameterMap m) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String claimName,
Class<T> requiredType) |
Set<String> |
getAudience() |
Date |
getExpiration() |
String |
getId() |
Date |
getIssuedAt() |
String |
getIssuer() |
String |
getName() |
Date |
getNotBefore() |
String |
getSubject() |
clear, containsKey, containsValue, entrySet, equals, get, get, hashCode, isEmpty, keySet, put, put, putAll, remove, replace, size, toString, valuesprotected DefaultClaims()
public DefaultClaims(ParameterMap m)
public String getName()
getName in interface NameablegetName in class ParameterMappublic String getSubject()
getSubject in interface Claimspublic Set<String> getAudience()
getAudience in interface Claimspublic Date getExpiration()
getExpiration in interface Claimspublic Date getNotBefore()
getNotBefore in interface Claimspublic Date getIssuedAt()
getIssuedAt in interface Claimspublic String getId()
getId in interface ClaimsgetId in interface IdentifiableCopyright © 2014–2024 jsonwebtoken.io. All rights reserved.