Sha256: 3ec9a3c5fcd2ea1c794bc8895f10e4623d899b90c1b435eb1856f1b51c907ed9
Contents?: true
Size: 609 Bytes
Versions: 2
Compression:
Stored size: 609 Bytes
Contents
require 'doorkeeper/orm/mongoid3/concerns/scopes' require 'doorkeeper-mongodb/compatible' module Doorkeeper class AccessGrant include DoorkeeperMongodb::Compatible include Mongoid::Document include Mongoid::Timestamps include AccessGrantMixin include Models::Mongoid3::Scopes self.store_in collection: :oauth_access_grants field :resource_owner_id, type: Moped::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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
doorkeeper-mongodb-3.0.0 | lib/doorkeeper/orm/mongoid3/access_grant.rb |
dd-doorkeeper-mongodb-3.0.0 | lib/doorkeeper/orm/mongoid3/access_grant.rb |