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, values
protected DefaultClaims()
public DefaultClaims(ParameterMap m)
public String getName()
getName
in interface Nameable
getName
in class ParameterMap
public String getSubject()
getSubject
in interface Claims
public Set<String> getAudience()
getAudience
in interface Claims
public Date getExpiration()
getExpiration
in interface Claims
public Date getNotBefore()
getNotBefore
in interface Claims
public Date getIssuedAt()
getIssuedAt
in interface Claims
public String getId()
getId
in interface Claims
getId
in interface Identifiable
Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.