new

new(buffer = nil) Class Public methods

get_initial_token

get_initial_token() Instance Public methods Gets the initial Negotiate token. Returns it as a base64 encoded string suitable for use in HTTP. Can be easily decoded, however.

complete_authentication

complete_authentication(token) Instance Public methods Takes a token and gets the next token in the Negotiate authentication chain. Token can be Base64 encoded or not. The token can include the âNegotiateâ header and it will be stripped. Does not indicate if SEC_I_CONTINUE or SEC_E_OK was returned. Token returned is Base64 encoded w/ all new lines removed.

proxy_auth_get

proxy_auth_get(http, path, user = nil, domain = nil) Class Public methods Given a connection and a request path, performs authentication as the current user and returns the response from a GET request. The connnection should be a Net::HTTP object, and it should have been constructed using the Net::HTTP.Proxy method, but anything that responds to âgetâ will work. If a user and domain are given, will authenticate as the given user. Returns the response received from the get method (u

new

new(user = nil, domain = nil) Class Public methods Creates a new instance ready for authentication as the given user in the given domain. Defaults to current user and domain as defined by ENV and ENV if no arguments are supplied.

to_p

to_p() Instance Public methods

new

new(user = nil, domain = nil, password = nil) Class Public methods

get_resolv_info

get_resolv_info() Class Public methods

get_hosts_path

get_hosts_path() Class Public methods

write_s

write_s(name, value) Instance Public methods Write value to a registry value named name. The value type is REG_SZ(write_s), REG_DWORD(write_i), or REG_BINARY(write_bin).