Module: HTTPX::Plugins::NtlmV2Auth::InstanceMethods

Defined in:
lib/httpx/plugins/ntlm_v2_auth.rb

Instance Method Summary collapse

Instance Method Details

#ntlm_auth(user, password, domain = nil) ⇒ Object

returns a new session which authenticates requests using NTLM v2 auth.



58
59
60
# File 'lib/httpx/plugins/ntlm_v2_auth.rb', line 58

def ntlm_auth(user, password, domain = nil)
  with(ntlm: Authenticator.new(user, password, domain: domain))
end