method

new

new(user = nil, domain = nil)
public

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[“USERDOMAIN”] and ENV[“USERNAME”] if no arguments are supplied.