Sha256: e2475ccb7a9c6a31d1685ef4530fd57898103c55a585a20b6a8b8bbe2264a50c

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

module Doorkeeper
  class AccessGrant < Couchbase::Model

    attribute :resource_owner_id, :application_id, :token, :expires_in, :redirect_uri, :revoked_at

  	def self.authenticate(token)
      by_token({:key => token})
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couchkeeper-0.6.7 lib/doorkeeper/models/couchbase/access_grant.rb