def _get_transport(self, auth_type, username, password):
        classes = {
            'STANDARD': HttpAuthenticated,
            'ALWAYS_SEND': AlwaysSendTransport,
            'NTLM': WindowsHttpAuthenticated
        }
        try:
            _class = classes[auth_type.upper().strip()]
        except KeyError:
            raise ValueError("'%s' is not a supported authentication type." % auth_type)
        transport = _class(username=username, password=password)
        return transport
dataset/ETHPy150Open ombre42/robotframework-sudslibrary/src/SudsLibrary/options.py/_OptionsKeywords._get_transport/original