public class JwtTimestampValidator extends Object implements Validator<Token>
exp) time and if it is used after the "not before" (nbf)
time.
See specification: https://tools.ietf.org/html/rfc7519#section-4.1.4
https://tools.ietf.org/html/rfc7519#section-4.1.5| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(Token token)
Validates the given object.
|
public ValidationResult validate(Token token)
Validatorvalidate in interface Validator<Token>token - the object of type T to be validated.ValidationResult.Copyright © 2020. All rights reserved.