Sha256: 89505053fd45c9cfa9511a9b60de8c5999a5558bd58c5f471f7c293595e8b7b3

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  module OpenidConnect
    class Request < ApplicationRecord
      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

3 entries across 3 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.7.4 lib/doorkeeper/openid_connect/orm/active_record/request.rb
doorkeeper-openid_connect-1.7.3 lib/doorkeeper/openid_connect/orm/active_record/request.rb
doorkeeper-openid_connect-1.7.2 lib/doorkeeper/openid_connect/orm/active_record/request.rb