Sha256: 9012f2ab9a7fec6b958eb8a69c80a12c983e0a06dd5126bd60562603ae11cf97

Contents?: true

Size: 411 Bytes

Versions: 20

Compression:

Stored size: 411 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.config,
          client,
          credentials,
          resource_owner,
          parameters,
        )
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
doorkeeper-5.8.1 lib/doorkeeper/request/password.rb
doorkeeper-5.8.0 lib/doorkeeper/request/password.rb
doorkeeper-5.7.1 lib/doorkeeper/request/password.rb
doorkeeper-5.7.0 lib/doorkeeper/request/password.rb
doorkeeper-5.6.9 lib/doorkeeper/request/password.rb
doorkeeper-5.6.8 lib/doorkeeper/request/password.rb
doorkeeper-5.6.7 lib/doorkeeper/request/password.rb
doorkeeper-5.6.6 lib/doorkeeper/request/password.rb
doorkeeper-5.6.5 lib/doorkeeper/request/password.rb
doorkeeper-5.6.4 lib/doorkeeper/request/password.rb
doorkeeper-5.6.3 lib/doorkeeper/request/password.rb
doorkeeper-5.6.2 lib/doorkeeper/request/password.rb
doorkeeper-5.6.1 lib/doorkeeper/request/password.rb
doorkeeper-5.6.0 lib/doorkeeper/request/password.rb
doorkeeper-5.6.0.rc2 lib/doorkeeper/request/password.rb
doorkeeper-5.6.0.rc1 lib/doorkeeper/request/password.rb
doorkeeper-5.5.4 lib/doorkeeper/request/password.rb
doorkeeper-5.5.3 lib/doorkeeper/request/password.rb
doorkeeper-5.5.2 lib/doorkeeper/request/password.rb
doorkeeper-5.5.1 lib/doorkeeper/request/password.rb