# File lib/generators/mongoid/oauth_provider_templates/oauth_token.rb, line 31 def authorized? !authorized_at.nil? && !invalidated? end