Sha256: 9974bf89253db10436ddd455ff6f37b5b668a60de8410ed492d69a3a03e91274

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

module Doorkeeper
  module OpenidConnect
    module OAuth
      module Authorization
        module Code
          def issue_token
            super.tap do |access_grant|
              if pre_auth.nonce
                ::Doorkeeper::OpenidConnect::Request.create!(
                  access_grant: access_grant,
                  nonce: pre_auth.nonce
                )
              end
            end
          end
        end
      end
    end
  end

  OAuth::Authorization::Code.send :prepend, OpenidConnect::OAuth::Authorization::Code
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.1.0 lib/doorkeeper/openid_connect/oauth/authorization/code.rb