public final class ClaimsSet extends CustomizableEntity
http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06#section-6.1
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAudience()
Returns the first audience of the
aud JWT Claims Set
parameter. |
java.util.List<java.lang.String> |
getAudiences()
Returns the
aud JWT Claims Set parameter. |
long |
getExpirationTime()
Returns the
exp JWT Claims Set parameter. |
long |
getIssuedAt()
Returns the
iat JWT Claims Set parameter. |
java.lang.String |
getIssuer()
Returns the
iss JWT Claims Set parameter. |
java.lang.String |
getJwdId()
Returns the
jti JWT Claims Set parameter. |
java.lang.String |
getNotBefore()
Returns the
nbf JWT Claims Set parameter. |
java.lang.String |
getSubject()
Returns the
sub JWT Claims Set parameter. |
java.lang.String |
getType()
Returns the
typ JWT Claims Set parameter. |
java.lang.String |
toString() |
getCustomField, getCustomFields
public java.lang.String getIssuer()
iss
JWT Claims Set parameter.iss
JWT Claims Set parameter.public java.lang.String getSubject()
sub
JWT Claims Set parameter.sub
JWT Claims Set parameter.public java.lang.String getAudience()
aud
JWT Claims Set
parameter.
There may be more than one audience listed.
aud
JWT Claims Set parameter.getAudiences()
public java.util.List<java.lang.String> getAudiences()
aud
JWT Claims Set parameter.aud
JWT Claims Set parameter.public long getExpirationTime()
exp
JWT Claims Set parameter.exp
JWT Claims Set parameter.public java.lang.String getNotBefore()
nbf
JWT Claims Set parameter.nbf
JWT Claims Set parameter.public long getIssuedAt()
iat
JWT Claims Set parameter.iat
JWT Claims Set parameter.public java.lang.String getJwdId()
jti
JWT Claims Set parameter.jti
JWT Claims Set parameter.public java.lang.String getType()
typ
JWT Claims Set parameter.typ
JWT Claims Set parameter.public java.lang.String toString()
toString
in class CustomizableEntity
Copyright © 2010 - 2020 Adobe. All Rights Reserved