Sha256: 8b9598cfccba8a8d90c060ea7861f2daba7c43f3a36bbd6c7c7f9cbadf223ef6

Contents?: true

Size: 377 Bytes

Versions: 8

Compression:

Stored size: 377 Bytes

Contents

require 'doorkeeper/request/strategy'

module Doorkeeper
  module Request
    class AuthorizationCode < Strategy
      delegate :grant, :client, :parameters, to: :server

      def request
        @request ||= OAuth::AuthorizationCodeRequest.new(
          Doorkeeper.configuration,
          grant,
          client,
          parameters
        )
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
doorkeeper-4.2.0 lib/doorkeeper/request/authorization_code.rb
doorkeeper-4.1.0 lib/doorkeeper/request/authorization_code.rb
doorkeeper-4.0.0 lib/doorkeeper/request/authorization_code.rb
doorkeeper-4.0.0.rc4 lib/doorkeeper/request/authorization_code.rb
doorkeeper-4.0.0.rc3 lib/doorkeeper/request/authorization_code.rb
doorkeeper-4.0.0.rc2 lib/doorkeeper/request/authorization_code.rb
doorkeeper-4.0.0.rc1 lib/doorkeeper/request/authorization_code.rb
doorkeeper-3.1.0 lib/doorkeeper/request/authorization_code.rb