ó
    Ö›‘h  ã                   ó¦   • S r SSKrSSKJr  SSKJr  SSKJr  SSKJ	r	J
r
  SSKJr  SrS	r\" \\R                  5       " S
 S5      5       r\" 5       rg)z;
Cred plugin for a file of the format 'username:password'.
é    N)Úimplementer)Úplugin)ÚFilePasswordDB)ÚIUsernameHashedPasswordÚIUsernamePassword)ÚICheckerFactoryz¶
This checker expects to receive the location of a file that
conforms to the FilePasswordDB format. Each line in the file
should be of the format 'username:password', in plain text.
zWarning: not a valid filec                   óJ   • \ rS rSrSrSr\rSr\	\
4r\R                  rS rSrg)ÚFileCheckerFactoryé   z/
A factory for instances of L{FilePasswordDB}.
Úfilez,Location of a FilePasswordDB-formatted file.c                 óþ   • SSK Jn  UR                  5       (       d  [        SU R                  -  5      eU" U5      R                  5       (       d%  U R                  R                  [         SU S35        [        U5      $ )zµ
This checker factory expects to get the location of a file.
The file should conform to the format required by
L{FilePasswordDB} (using defaults for all
initialization parameters).
r   )ÚFilePathz%r requires a filenamez: Ú
)
Útwisted.python.filepathr   ÚstripÚ
ValueErrorÚauthTypeÚisfileÚerrorOutputÚwriteÚinvalidFileWarningr   )ÚselfÚ	argstringr   s      Ú]C:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/plugins/cred_file.pyÚgenerateCheckerÚ"FileCheckerFactory.generateChecker+   sk   € õ 	5à�‰× Ñ ÜÐ5¸¿¹ÑEÓFÐFÙ˜)Ó$×+Ñ+×-Ñ-Ø×Ñ×"Ñ"Ô&8Ð%9¸¸I¸;ÀbÐ#IÔJÜ˜iÓ(Ð(ó    © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   ÚfileCheckerFactoryHelpÚauthHelpÚargStringFormatr   r   ÚcredentialInterfacesÚsysÚstderrr   r   Ú__static_attributes__r   r   r   r
   r
      s2   † ñð €HØ%€HØD€Oà-Ð/FÐGÐà—*‘*€Kõ)r   r
   )r#   r(   Úzope.interfacer   Útwistedr   Útwisted.cred.checkersr   Útwisted.cred.credentialsr   r   Útwisted.cred.strcredr   r$   r   ÚIPluginr
   ÚtheFileCheckerFactoryr   r   r   Ú<module>r2      s]   ðñó
 å &å Ý 0ß OÝ 0ðÐ ð 1Ð ñ ˆ_˜fŸn™nÓ-÷)ð )ó .ð)ñ: +Ó,Ñ r   