Sha256: acdf0098be73054b5e594cae82ae95376924819365ab8713edcbb2c8a5034f68
Contents?: true
Size: 567 Bytes
Versions: 13
Compression:
Stored size: 567 Bytes
Contents
require 'doorkeeper/orm/mongoid4/concerns/scopes' module Doorkeeper class AccessGrant include Mongoid::Document include Mongoid::Timestamps include AccessGrantMixin include Models::Mongoid4::Scopes self.store_in collection: :oauth_access_grants field :resource_owner_id, type: BSON::ObjectId field :application_id, type: BSON::ObjectId field :token, type: String field :expires_in, type: Integer field :redirect_uri, type: String field :revoked_at, type: DateTime index({ token: 1 }, { unique: true }) end end
Version data entries
13 entries across 13 versions & 1 rubygems