class Doorkeeper::AccessToken
def self.active_for(resource_owner)
-
(ActiveRecord::Relation)
-
Parameters:
-
resource_owner
(ActiveRecord::Base
) --
def self.active_for(resource_owner) where(resource_owner_id: resource_owner.id, revoked_at: nil) end
def self.refresh_token_revoked_on_use?
def self.refresh_token_revoked_on_use? column_names.include?("previous_refresh_token") end