Sha256: d7a5eb7012ee21f57b56d14940c689810b423e811f75b0c78ecd56f025f3fb2f
Contents?: true
Size: 572 Bytes
Versions: 2
Compression:
Stored size: 572 Bytes
Contents
require 'doorkeeper/orm/mongoid2/concerns/scopes' require 'doorkeeper-mongodb/compatible' module Doorkeeper class AccessGrant include DoorkeeperMongodb::Compatible include Mongoid::Document include Mongoid::Timestamps include AccessGrantMixin include Models::Mongoid2::Scopes self.store_in :oauth_access_grants field :resource_owner_id, type: Integer field :token, type: String field :expires_in, type: Integer field :redirect_uri, type: String field :revoked_at, type: DateTime index :token, unique: true end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
doorkeeper-mongodb-3.0.0 | lib/doorkeeper/orm/mongoid2/access_grant.rb |
dd-doorkeeper-mongodb-3.0.0 | lib/doorkeeper/orm/mongoid2/access_grant.rb |