| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.6/site-packages/certbot/__pycache__/ |
Upload File : |
3
گa� � @ s� d Z ddlZddlmZ ddlmZ ddlZddlmZ ddl m
Z
eje�Z
G dd� dej�ZG d d
� d
e�ZG dd� de�ZdS )
a0 Client annotated ACME challenges.
Please use names such as ``achall`` to distinguish from variables "of type"
:class:`acme.challenges.Challenge` (denoted by ``chall``)
and :class:`.ChallengeBody` (denoted by ``challb``)::
from acme import challenges
from acme import messages
from certbot import achallenges
chall = challenges.DNS(token='foo')
challb = messages.ChallengeBody(chall=chall)
achall = achallenges.DNS(chall=challb, domain='example.com')
Note, that all annotated challenges act as a proxy objects::
achall.token == challb.token
� N)�Any)�Type)�
challenges)� Challengec @ s2 e Zd ZU dZdZeZee e e
d�dd�ZdS )�AnnotatedChallengez�Client annotated challenge.
Wraps around server provided challenge and annotates with data
useful for the client.
:ivar ~.challb: Wrapped `~.ChallengeBody`.
�challb)�name�returnc C s t | j|�S )N)�getattrr )�selfr � r �!/usr/lib/python3.6/achallenges.py�__getattr__, s zAnnotatedChallenge.__getattr__N)r )�__name__�
__module__�__qualname__�__doc__� __slots__�NotImplementedZ
_acme_typer r �strr r r r r r
r s
r c @ s&