def login(self, auth_request):
    """
    Parameters:
     - auth_request
    """
    self._seqid += 1
    d = self._reqs[self._seqid] = defer.Deferred()
    self.send_login(auth_request)
    return d
def login ( self , auth_request ) : self . _seqid += 1 d = self . _reqs [ self . _seqid ] = defer . Deferred ( ) self . send_login ( auth_request ) return d
Parameters:
     - auth_request