Package com.adobe.granite.oauth.jwt
Interface JwtValidator
public interface JwtValidator
The
JwtValidator provides an API to validate JWT formatted token
as defined in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-16-
Method Summary
-
Method Details
-
validate
Validates the JWT with regards to the "nbf" (not before) and "exp" (expiration time) claims being valid at the given time.- Parameters:
jwt- the Jwt to validatetime- a UTC timestamp for checking the validity- Returns:
- {code true} if the JWT can be accepted for processing,
falseotherwise
-