Class JsonWebToken
java.lang.Object
org.jboss.resteasy.jwt.JsonWebToken
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
id
-
expiration
protected long expiration -
notBefore
protected long notBefore -
issuedAt
protected long issuedAt -
issuer
-
audience
-
principal
-
type
-
-
Constructor Details
-
JsonWebToken
public JsonWebToken()
-
-
Method Details
-
getId
-
id
-
getExpiration
public long getExpiration() -
expiration
-
isExpired
public boolean isExpired() -
getNotBefore
public long getNotBefore() -
notBefore
-
isNotBefore
public boolean isNotBefore() -
isActive
public boolean isActive()Tests that the token is not expired and is not-before.- Returns:
- true if the token is not expired and is not-before
-
getIssuedAt
public long getIssuedAt() -
issuedNow
-
issuedAt
-
getIssuer
-
issuer
-
getAudience
-
audience
-
getPrincipal
-
principal
-
getType
-
type
-