JwtExpValidation constructor
JwtExpValidation(
- Jwt jwt
Implementation
JwtExpValidation(this.jwt) {
if (_exists() && _isExpired()) {
throw ExpiredTokenException();
}
}
JwtExpValidation(this.jwt) {
if (_exists() && _isExpired()) {
throw ExpiredTokenException();
}
}