Sha256: da6187f8292dc9ec0753daebd7426923f3920b267e371156ee65ed52290e2bfb
Contents?: true
Size: 634 Bytes
Versions: 3
Compression:
Stored size: 634 Bytes
Contents
module Doorkeeper class AccessGrant include Mongoid::Document include Mongoid::Timestamps include DoorkeeperMongodb::Compatible include DoorkeeperMongodb::Shared::Scopes include DoorkeeperMongodb::Mixins::Mongoid::AccessGrantMixin store_in collection: :oauth_access_grants field :resource_owner_id, type: BSON::ObjectId field :token, type: String field :expires_in, type: Integer field :redirect_uri, type: String field :revoked_at, type: DateTime field :code_challenge, type: String field :code_challenge_method, type: String index({ token: 1 }, unique: true) end end
Version data entries
3 entries across 1 versions & 1 rubygems