public class Token extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MILLIS_PER_SEC |
| Modifier and Type | Method and Description |
|---|---|
String |
getClaim(String claim)
Returns the claim if found in the token, otherwise throws
|
Date |
getExpiration()
Returns expiration of this id token.
|
Date |
getIssuedAt()
Returns "issued at" claim of this id token
|
Date |
getNotBefore()
Returns "not before" claim of this id token
|
String |
getTokenString()
Returns the id token formatted as JWT.
|
public static final int MILLIS_PER_SEC
public Token(String token)
public String getTokenString()
String.public Date getExpiration()
Date in UTC.public Date getNotBefore()
Date in UTC.public Date getIssuedAt()
Date in UTC.Copyright © 2020. All rights reserved.