Sha256: 80d274c6e7149a7d775aed9d006a1c1b4debab2c29d09096e7dc2f37e3e55ce6

Contents?: true

Size: 342 Bytes

Versions: 3

Compression:

Stored size: 342 Bytes

Contents

module MarketoApi
  # Authentication middleware used to fetch the access_token
  class Middleware::Authentication::Token < MarketoApi::Middleware::Authentication
    def params
      {
        grant_type: 'client_credentials',
        client_id: @options[:client_id],
        client_secret: @options[:client_secret]
      }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
marketo_api-0.3.0.pre.alpha lib/marketo_api/middleware/authentication/token.rb
marketo_api-0.1.1.pre.alpha lib/marketo_api/middleware/authentication/token.rb
marketo_api-0.0.7.pre.alpha lib/marketo_api/middleware/authentication/token.rb