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 true;
return authentication.token.isExpired();
}