def initialize(options = {:retry_auth => true})
@authuser = options[:username] || (raise CloudDB::Exception::Authentication, "Must supply a :username")
@authkey = options[:api_key] || (raise CloudDB::Exception::Authentication, "Must supply an :api_key")
@region = options[:region] || (raise CloudDB::Exception::Authentication, "Must supply a :region")
@retry_auth = options[:retry_auth]
@auth_url = options[:auth_url] || CloudDB::AUTH_USA
@snet = ENV['RACKSPACE_SERVICENET'] || options[:snet]
@authok = false
@http = {}
CloudDB::Authentication.new(self)
end