Sha256: 37cfda9cc3744b0db9677893c4b3975b1c4f9ddcbde0397c9346eb71df897fdd

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  module OpenidConnect
    class Request < ::ActiveRecord::Base
      self.table_name = "#{table_name_prefix}oauth_openid_requests#{table_name_suffix}".to_sym

      validates :access_grant_id, :nonce, presence: true
      belongs_to :access_grant,
                 class_name: 'Doorkeeper::AccessGrant',
                 inverse_of: :openid_request
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.8.1 lib/doorkeeper/openid_connect/orm/active_record/request.rb
doorkeeper-openid_connect-1.8.0 lib/doorkeeper/openid_connect/orm/active_record/request.rb
doorkeeper-openid_connect-1.8.0.pre.rc1 lib/doorkeeper/openid_connect/orm/active_record/request.rb
doorkeeper-openid_connect-1.7.5 lib/doorkeeper/openid_connect/orm/active_record/request.rb