The project is in a healthy, maintained state
A Faraday middleware for NTLM authentication
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Faraday NTLM Authentication

A simple Faraday middleware for NTLM authentication

Installation

Add this line to your application's Gemfile:

gem 'faraday-ntlm_auth'

And then execute:

bundle install

Or install it yourself as:

gem install faraday-ntlm_auth

Usage

require 'faraday/ntlm_auth'

conn = Faraday.new(url: 'http://example.com') do |faraday|
  faraday.adapter :net_http_persistent, pool_size: 5, idle_timeout: 5 # Net HTTP persistent adapter is required for NTLM authentication
  faraday.request :ntlm_auth, auth: 'username', 'your_password', 'your_domain'
end

Development

After checking out the repo, run bin/setup to install dependencies.

Then, run bin/test to run the tests.

To install this gem onto your local machine, run rake build.

To release a new version, make a commit with a message such as "Bumped to 0.0.2" and then run rake release. See how it works here.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.