public interface Payload
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAudience()
Get the value of the "aud" claim, or null if it's not available.
|
Claim |
getClaim(String name)
Get a Claim given it's name.
|
Map<String,Claim> |
getClaims()
Get the Claims defined in the Token.
|
Date |
getExpiresAt()
Get the value of the "exp" claim, or null if it's not available.
|
String |
getId()
Get the value of the "jti" claim, or null if it's not available.
|
Date |
getIssuedAt()
Get the value of the "iat" claim, or null if it's not available.
|
String |
getIssuer()
Get the value of the "iss" claim, or null if it's not available.
|
Date |
getNotBefore()
Get the value of the "nbf" claim, or null if it's not available.
|
String |
getSubject()
Get the value of the "sub" claim, or null if it's not available.
|
String getIssuer()
String getSubject()
List<String> getAudience()
Date getExpiresAt()
Date getNotBefore()
Date getIssuedAt()
String getId()
Claim getClaim(String name)
name - the name of the Claim to retrieve.Copyright © 2017. All rights reserved.