U
    
W[ù  ã                   @   sz   d Z ddlmZm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
eƒƒZeƒ ZdS )z#
Cred plugin for anonymous logins.
é    )Úabsolute_importÚdivision)Úimplementer)Úplugin©ÚAllowAnonymousAccess)ÚICheckerFactory)Ú
IAnonymouszC
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   ú@/usr/lib/python3/dist-packages/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
__future__r   r   Zzope.interfacer   Ztwistedr   Ztwisted.cred.checkersr   Ztwisted.cred.strcredr   Ztwisted.cred.credentialsr	   r   ZIPluginÚobjectr
   ZtheAnonymousCheckerFactoryr   r   r   r   Ú<module>   s   
