Sha256: 4b5389e4ae4d900fa91b3715e8bb0e302d40dcb267679a416946a842af8390b6

Contents?: true

Size: 394 Bytes

Versions: 18

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  module Request
    class Password < Strategy
      delegate :credentials, :resource_owner, :parameters, :client, to: :server

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
doorkeeper-5.1.2 lib/doorkeeper/request/password.rb
doorkeeper-5.2.6 lib/doorkeeper/request/password.rb
doorkeeper-5.0.3 lib/doorkeeper/request/password.rb
doorkeeper-5.1.1 lib/doorkeeper/request/password.rb
doorkeeper-5.2.5 lib/doorkeeper/request/password.rb
doorkeeper-5.2.4 lib/doorkeeper/request/password.rb
doorkeeper-5.2.3 lib/doorkeeper/request/password.rb
doorkeeper-5.2.2 lib/doorkeeper/request/password.rb
doorkeeper-5.2.1 lib/doorkeeper/request/password.rb
doorkeeper-5.2.0 lib/doorkeeper/request/password.rb
doorkeeper-5.2.0.rc3 lib/doorkeeper/request/password.rb
doorkeeper-5.2.0.rc2 lib/doorkeeper/request/password.rb
doorkeeper-5.2.0.rc1 lib/doorkeeper/request/password.rb
doorkeeper-5.1.0 lib/doorkeeper/request/password.rb
doorkeeper-5.1.0.rc2 lib/doorkeeper/request/password.rb
doorkeeper-5.1.0.rc1 lib/doorkeeper/request/password.rb
doorkeeper-5.0.2 lib/doorkeeper/request/password.rb
doorkeeper-5.0.1 lib/doorkeeper/request/password.rb