# File lib/generators/active_record/oauth_provider_templates/oauth2_token.rb, line 17
  def expires_in
    expires_at.to_i - Time.now.to_i
  end