Sha256: 95763f08c0941c18d3ac503d2275f45088454590dd2a6f104c42402cb77f8d3e

Contents?: true

Size: 553 Bytes

Versions: 18

Compression:

Stored size: 553 Bytes

Contents

module Doorkeeper
  module OpenidConnect
    module OAuth
      module Authorization
        module Code
          def issue_token
            super.tap do |access_grant|
              if pre_auth.nonce.present?
                ::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

18 entries across 17 versions & 1 rubygems

Version Path
doorkeeper-openid_connect-1.7.1 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.7.0 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.6.3 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.6.2 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.6.1 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.6.0 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.5.5 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.5.4 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.5.3 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.5.2 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.5.1 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.5.0 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.4.0 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.3.0 lib/doorkeeper/openid_connect/oauth/authorization/token.rb
doorkeeper-openid_connect-1.3.0 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.2.0 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.1.2 lib/doorkeeper/openid_connect/oauth/authorization/code.rb
doorkeeper-openid_connect-1.1.1 lib/doorkeeper/openid_connect/oauth/authorization/code.rb