def auth(self): """ Return credentials for current user. """ return HTTPDigestAuth(self.username, self.password)