| Current Path : /lib/python3/dist-packages/certbot/plugins/__pycache__/ |
| Current File : //lib/python3/dist-packages/certbot/plugins/__pycache__/webroot.cpython-38.pyc |
U
�]Q0 � @ sT d Z ddlZddlZddlZddlZddlZddlZddlZddl Zddl
mZ ddlm
Z
mZmZmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlm Z e�!e"�Z#ej$�%ej&�ej$�'ej(�G dd� dej)���Z*G dd� dej+�Z,G dd� dej+�Z-dd� Z.dS )zWebroot plugin.� N)�
challenges)�Dict�Set�DefaultDict�List)�achallenges)�cli)�errors)�
interfaces)�os)�
filesystem)�ops)�util)�common)� safe_openc s� e Zd ZdZdZdZdd� Zedd� �Zdd � Z � fd
d�Z
dd
� Zdd� Zdd� Z
dd� Zdd� Zd!dd�Zdd� Zdd� Zdd� Zdd � Z� ZS )"�
AuthenticatorzWebroot Authenticator.z Place files in webroot directoryz�Authenticator plugin that performs http-01 challenge by saving
necessary validation resources to appropriate paths on the file
system. It expects that there is some other HTTP server configured
to serve all files under specified web root ({0}).c C s | j �| �d��S )N�path)� MORE_INFO�format�conf��self� r �9/usr/lib/python3/dist-packages/certbot/plugins/webroot.py� more_info- s zAuthenticator.more_infoc C s&