| Modifier and Type | Field and Description |
|---|---|
| protected String[] | |
| public static final String | |
| protected Long | |
| protected Long | |
| protected String | |
| public String | |
| protected String | |
| protected Long | |
| protected Map | |
| public static final String | |
| protected String | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonWebToken | |
| public JsonWebToken | |
| public JsonWebToken | |
| public JsonWebToken | expiration(int expiration)
Deprecated
int will overflow with values after 2038. Use
exp(Long) instead.
|
| public String[] | |
| public TokenCategory | |
| public Long | |
| public int | |
| public Long | |
| public String | |
| public int | |
| public String | |
| public String | |
| public Long | |
| public int | |
| public Map | |
| public String | |
| public String | |
| public boolean | |
| public boolean | |
| public JsonWebToken | |
| public JsonWebToken | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if the particular token was issued before the given session start time. Which means that token cannot be issued by the particular sessionTime in seconds sessionStarted)
|
| public boolean | |
| public JsonWebToken | |
| public JsonWebToken | |
| public JsonWebToken | |
| public JsonWebToken | |
| public JsonWebToken | |
| public JsonWebToken | |
| public void | |
| public void | |
| public JsonWebToken | |
| public JsonWebToken |
| audience | back to summary |
|---|---|
| protected String[] audience
| |
| AZP | back to summary |
|---|---|
| public static final String AZP | |
| exp | back to summary |
|---|---|
| protected Long exp | |
| iat | back to summary |
|---|---|
| protected Long iat | |
| id | back to summary |
|---|---|
protected String id
| |
| issuedFor | back to summary |
|---|---|
public String issuedFor
| |
| issuer | back to summary |
|---|---|
protected String issuer
| |
| nbf | back to summary |
|---|---|
| protected Long nbf | |
| otherClaims | back to summary |
|---|---|
| protected Map<String, Object> otherClaims | |
| SUBJECT | back to summary |
|---|---|
| public static final String SUBJECT | |
| subject | back to summary |
|---|---|
protected String subject
| |
| type | back to summary |
|---|---|
protected String type
| |
| JsonWebToken | back to summary |
|---|---|
| public JsonWebToken() | |
| addAudience | back to summary |
|---|---|
| public JsonWebToken addAudience(String audience) | |
| audience | back to summary |
|---|---|
| public JsonWebToken audience(String... audience) | |
| exp | back to summary |
|---|---|
| public JsonWebToken exp(Long exp) | |
| expiration | back to summary |
|---|---|
| public JsonWebToken expiration(int expiration)
Deprecated int will overflow with values after 2038. Use | |
| getAudience | back to summary |
|---|---|
public String[] getAudience()
| |
| getCategory | back to summary |
|---|---|
| public TokenCategory getCategory() Implements org.
| |
| getExp | back to summary |
|---|---|
| public Long getExp() | |
| getExpiration | back to summary |
|---|---|
| public int getExpiration()
Deprecated int will overflow with values after 2038. Use
| |
| getIat | back to summary |
|---|---|
| public Long getIat() | |
| getId | back to summary |
|---|---|
| public String getId() | |
| getIssuedAt | back to summary |
|---|---|
| public int getIssuedAt()
Deprecated int will overflow with values after 2038. Use
| |
| getIssuedFor | back to summary |
|---|---|
| public String getIssuedFor() OAuth client the token was issued for. | |
| getIssuer | back to summary |
|---|---|
| public String getIssuer() | |
| getNbf | back to summary |
|---|---|
| public Long getNbf() | |
| getNotBefore | back to summary |
|---|---|
| public int getNotBefore()
Deprecated int will overflow with values after 2038. Use
| |
| getOtherClaims | back to summary |
|---|---|
| public Map This is a map of any other claims and data that might be in the IDToken. Could be custom claims set up by the auth server
| |
| getSubject | back to summary |
|---|---|
| public String getSubject() | |
| getType | back to summary |
|---|---|
| public String getType() | |
| hasAnyAudience | back to summary |
|---|---|
| public boolean hasAnyAudience(List<String> audiences) | |
| hasAudience | back to summary |
|---|---|
| public boolean hasAudience(String audience) | |
| iat | back to summary |
|---|---|
| public JsonWebToken iat(Long iat) | |
| id | back to summary |
|---|---|
| public JsonWebToken id(String id) | |
| isActive | back to summary |
|---|---|
| public boolean isActive() Tests that the token is not expired and is not-before.
| |
| isActive | back to summary |
|---|---|
public boolean isActive(int allowedTimeSkew)
| |
| isExpired | back to summary |
|---|---|
public boolean isExpired()
| |
| isIssuedBeforeSessionStart | back to summary |
|---|---|
public boolean isIssuedBeforeSessionStart(long sessionStarted)
| |
| isNotBefore | back to summary |
|---|---|
public boolean isNotBefore(int allowedTimeSkew)
| |
| issuedAt | back to summary |
|---|---|
| public JsonWebToken issuedAt(int issuedAt)
Deprecated int will overflow with values after 2038. Use
| |
| issuedFor | back to summary |
|---|---|
| public JsonWebToken issuedFor(String issuedFor) | |
| issuedNow | back to summary |
|---|---|
| public JsonWebToken issuedNow() Set issuedAt to the current time
| |
| issuer | back to summary |
|---|---|
| public JsonWebToken issuer(String issuer) | |
| nbf | back to summary |
|---|---|
| public JsonWebToken nbf(Long nbf) | |
| notBefore | back to summary |
|---|---|
| public JsonWebToken notBefore(int notBefore)
Deprecated int will overflow with values after 2038. Use
| |
| setOtherClaims | back to summary |
|---|---|
public void setOtherClaims(String name, Object value)
| |
| setSubject | back to summary |
|---|---|
| public void setSubject(String subject) | |
| subject | back to summary |
|---|---|
| public JsonWebToken subject(String subject) | |
| type | back to summary |
|---|---|
| public JsonWebToken type(String type) | |