o
    ¯b¾  ã                   @   sh   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 dZee
ejƒG dd	„ d	ƒƒZeƒ Zd
S )z#
Cred plugin for anonymous logins.
é    )Úimplementer)Úplugin©ÚAllowAnonymousAccess)Ú
IAnonymous)ÚICheckerFactoryzC
This allows anonymous authentication for servers that support it.
c                   @   s,   e Zd ZdZdZeZdZefZ	ddd„Z
dS )	ÚAnonymousCheckerFactoryzI
    Generates checkers that will authenticate an anonymous request.
    Ú	anonymouszNo argstring required.Ú c                 C   s   t ƒ S )Nr   )ÚselfÚ	argstring© r   ú@/usr/lib/python3/dist-packages/twisted/plugins/cred_anonymous.pyÚgenerateChecker"   s   z'AnonymousCheckerFactory.generateCheckerN)r
   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚauthTypeÚanonymousCheckerFactoryHelpÚauthHelpÚargStringFormatr   ÚcredentialInterfacesr   r   r   r   r   r      s    r   N)r   Úzope.interfacer   Útwistedr   Útwisted.cred.checkersr   Útwisted.cred.credentialsr   Útwisted.cred.strcredr   r   ÚIPluginr   ÚtheAnonymousCheckerFactoryr   r   r   r   Ú<module>   s   

