### Install Ruby/NTLM Source: https://github.com/winrb/rubyntlm/blob/master/README.md Include the library in your Ruby project. ```ruby require 'rubyntlm' ``` -------------------------------- ### Create NTLM Type 1 message Source: https://github.com/winrb/rubyntlm/blob/master/README.md Initialize a new Type 1 NTLM message. ```ruby t1 = Net::NTLM::Message::Type1.new() ``` -------------------------------- ### Create NTLM Type 3 message Source: https://github.com/winrb/rubyntlm/blob/master/README.md Generate a Type 3 response message using credentials. ```ruby t3 = t2.response({:user => 'user', :password => 'passwd'}) ``` -------------------------------- ### Parse NTLM Type 2 message Source: https://github.com/winrb/rubyntlm/blob/master/README.md Parse an NTLM Type 2 message received from a server. ```ruby t2 = Net::NTLM::Message.parse(message_from_server) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.