Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/plugins/__pycache__/cred_file.cpython-39.pyc
Ðазад
a k�h � @ sx d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z m Z ddlmZ dZ d Zeeej�G d d� d��Ze� ZdS )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. zWarning: not a valid filec @ s2 e Zd ZdZdZeZdZee fZ ejZ dd� ZdS )�FileCheckerFactoryz7 A factory for instances of L{FilePasswordDB}. �filez,Location of a FilePasswordDB-formatted file.c C sP ddl m} |�� s$td| j ��n$||��� sH| j�t� d|� d�� t |�S )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: � ) Ztwisted.python.filepathr �strip� ValueError�authType�isfile�errorOutput�write�invalidFileWarningr )�selfZ argstringr � r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/plugins/cred_file.py�generateChecker+ s z"FileCheckerFactory.generateCheckerN)�__name__� __module__�__qualname__�__doc__r �fileCheckerFactoryHelpZauthHelpZargStringFormatr r ZcredentialInterfaces�sys�stderrr r r r r r r s r )r r Zzope.interfacer Ztwistedr Ztwisted.cred.checkersr Ztwisted.cred.credentialsr r Ztwisted.cred.strcredr r r ZIPluginr ZtheFileCheckerFactoryr r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка