U
    Â“«j¾  ã                   @   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.
    Z	anonymouszNo argstring required.Ú c                 C   s   t ƒ S )Nr   )ÚselfZ	argstring© r   úB/tmp/pip-unpacked-wheel-59kc99xd/twisted/plugins/cred_anonymous.pyÚgenerateChecker"   s    z'AnonymousCheckerFactory.generateCheckerN)r	   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZauthTypeÚanonymousCheckerFactoryHelpZauthHelpZargStringFormatr   ZcredentialInterfacesr   r   r   r   r   r      s   r   N)r   Zzope.interfacer   Ztwistedr   Ztwisted.cred.checkersr   Ztwisted.cred.credentialsr   Ztwisted.cred.strcredr   r   ZIPluginr   ZtheAnonymousCheckerFactoryr   r   r   r   Ú<module>   s   
