validate method
Returns true
if the request
is valid by this rule.
Implementation
@override
bool validate(APIRequest request) {
var authentication = request.authentication;
if (authentication == null) return false;
return !authentication.token.isExpired();
}