Sha256: ab8dd0ea75f459a8097a0775bf73310a2f9cd2eac9be9e18f7ac76a0edd559ea

Contents?: true

Size: 352 Bytes

Versions: 18

Compression:

Stored size: 352 Bytes

Contents

require 'doorkeeper/request/strategy'

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

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
doorkeeper-4.4.3 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.4.2 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.4.1 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.4.0 lib/doorkeeper/request/client_credentials.rb
doorkeeper-5.0.0.rc1 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.3.2 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.3.1 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.3.0 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.2.6 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.2.5 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.2.0 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.1.0 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.0.0 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.0.0.rc4 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.0.0.rc3 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.0.0.rc2 lib/doorkeeper/request/client_credentials.rb
doorkeeper-4.0.0.rc1 lib/doorkeeper/request/client_credentials.rb
doorkeeper-3.1.0 lib/doorkeeper/request/client_credentials.rb