| Current Path : /proc/self/root/lib/python3/dist-packages/certbot/__pycache__/ |
| Current File : //proc/self/root/lib/python3/dist-packages/certbot/__pycache__/auth_handler.cpython-38.pyc |
U
�]�I � @ s d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlm Z
ddlmZm
Z
mZ ddlmZ ddlm Z ddlmZ dd lmZ e�e�ZG d
d� de�Zdd
� Zdd� Zdd� Zdd� Zdd� ZdZed ed dded eed�Zdd� Zdd � Z dS )!zACME AuthHandler.� N)�
challenges)�messages)�errors)�Dict�List�Tuple)�achallenges)�
error_handler)�
interfacesc @ sR e Zd ZdZdd� Zddd�Zdd � Zd
d� Zdd
� Zdd� Z dd� Z
dd� ZdS )�AuthHandlera ACME Authorization Handler for a client.
:ivar auth: Authenticator capable of solving
:class:`~acme.challenges.Challenge` types
:type auth: :class:`certbot.interfaces.IAuthenticator`
:ivar acme.client.BackwardsCompatibleClientV2 acme_client: ACME client API.
:ivar account: Client's Account
:type account: :class:`certbot.account.Account`
:ivar list pref_challs: sorted user specified preferred challenges
type strings with the most preferred challenge listed first
c C s || _ || _|| _|| _d S �N)�auth�acme�account�pref_challs)�selfr
Zacme_clientr r � r �6/usr/lib/python3/dist-packages/certbot/auth_handler.py�__init__&