/usr/lib/python3/dist-packages/twisted/plugins
NameSizeModeActions
__pycache__/-0755rm
cred_anonymous.py9580644editdlrm
cred_file.py18110644editdlrm
cred_memory.py22810644editdlrm
cred_sshkeys.py14270644editdlrm
cred_unix.py59510644editdlrm
dropin.cache56250755editdlrm
twisted_conch.py5300644editdlrm
twisted_core.py5500644editdlrm
twisted_ftp.py2120644editdlrm
twisted_inet.py2620644editdlrm
twisted_mail.py2240644editdlrm
twisted_names.py2360644editdlrm
twisted_portforward.py2770644editdlrm
twisted_reactors.py17680644editdlrm
twisted_runner.py2800644editdlrm
twisted_socks.py2360644editdlrm
twisted_trial.py35220644editdlrm
twisted_web.py3310644editdlrm
twisted_words.py9400644editdlrm
__init__.py6090644editdlrm
Edit: /usr/lib/python3/dist-packages/twisted/plugins/cred_anonymous.py (958B)
# -*- test-case-name: twisted.test.test_strcred -*- # # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Cred plugin for anonymous logins. """ from zope.interface import implementer from twisted import plugin from twisted.cred.checkers import AllowAnonymousAccess from twisted.cred.credentials import IAnonymous from twisted.cred.strcred import ICheckerFactory anonymousCheckerFactoryHelp = """ This allows anonymous authentication for servers that support it. """ @implementer(ICheckerFactory, plugin.IPlugin) class AnonymousCheckerFactory: """ Generates checkers that will authenticate an anonymous request. """ authType = "anonymous" authHelp = anonymousCheckerFactoryHelp argStringFormat = "No argstring required." credentialInterfaces = (IAnonymous,) def generateChecker(self, argstring=""): return AllowAnonymousAccess() theAnonymousCheckerFactory = AnonymousCheckerFactory()