public interface JwtValidator
JwtValidator
provides an API to validate JWT formatted token
as defined in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-16Modifier and Type | Method and Description |
---|---|
boolean |
validate(java.lang.String jwt,
long time)
Validates the JWT with regards to the "nbf" (not before) and "exp" (expiration time) claims being valid at the
given time.
|
boolean validate(java.lang.String jwt, long time)
jwt
- the Jwt to validatetime
- a UTC timestamp for checking the validityfalse
otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved