Method: Doorkeeper::AccessGrant.authenticate

Defined in:
lib/doorkeeper/models/access_grant.rb,
lib/doorkeeper/models/couchbase/access_grant.rb

.authenticate(token) ⇒ Object



12
13
14
# File 'lib/doorkeeper/models/access_grant.rb', line 12

def self.authenticate(token)
  where(:token => token).first
end