Sha256: bee4fde8bbae4f67de823eac1f1fa05e27fbe6388f847a81f352897e5fe667a6
Contents?: true
Size: 710 Bytes
Versions: 26
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true 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 :resource_owner_type, type: String 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
26 entries across 6 versions & 1 rubygems