

def _login(self, credentials):
    '\n        Get the L{IResource} avatar for the given credentials.\n\n        @return: A L{Deferred} which will be called back with an L{IResource}\n            avatar or which will errback if authentication fails.\n        '
    d = self._portal.login(credentials, None, IResource)
    d.addCallbacks(self._loginSucceeded, self._loginFailed)
    return d

dataset/ETHPy150Open twisted/twisted/twisted/web/_auth/wrapper.py HTTPAuthSessionWrapper._login/original