def authenticate(self, auth_method, **kwargs):
        if auth_method == 'cookie':
            return self._auth_cookie(**kwargs)
        elif auth_method == 'basic':
            return self._auth_basic()
        else:
            raise AttributeError('No authentication method for ' + auth_method)
Search ASNs
dataset/ETHPy150Open MediaMath/t1-python/terminalone/service.py/T1.authenticate--crossover with--dataset/ETHPy150Open SpriteLink/NIPAP/tests/xmlrpc.py/NipapXmlTest.test_search_asn