Method: Net::HTTP::NTLM::Credentials#ntlm_auth

Defined in:
lib/net/http/ntlm/credentials.rb

#ntlm_auth(user, domain, password) ⇒ Object

Sets the NTLM credentials on a request

Parameters:

  • user (String)

    Username

  • domain (String)

    NT-Domain

  • password (String)

    Password



15
16
17
18
19
# File 'lib/net/http/ntlm/credentials.rb', line 15

def ntlm_auth(user, domain, password)
  @ntlm_auth_user = user
  @ntlm_auth_domain = domain
  @ntlm_auth_password = password
end