+
    Dfj                         R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	H
t
 ^ RIHt RtRt]! ]]P                  4       ! R	 R
4      4       t]! 4       tR# )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                   V   a  ] tR t^t o RtRt]tRt]	]
3t]P                  tR tRtV tR# )FileCheckerFactoryz/
A factory for instances of L{FilePasswordDB}.
filez,Location of a FilePasswordDB-formatted file.c                
   ^ RI Hp VP                  4       '       g   \        RV P                  ,          4      hV! V4      P                  4       '       g&   V P                  P                  \         RV R24       \        V4      # )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).
)FilePathz%r requires a filenamez: 
)
twisted.python.filepathr   strip
ValueErrorauthTypeisfileerrorOutputwriteinvalidFileWarningr   )self	argstringr   s   && ;/usr/lib/python3/dist-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____classdictcell__)__classdict__s   @r   r	   r	      s:      H%HDO-/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  _fnn-) ) .): +, r   