File: //usr/local/lib/python3.10/dist-packages/pip/_internal/network/__pycache__/auth.cpython-310.pyc
o
��h�P � @ sj d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z
ddlmZm
Z
ddlmZ ddlmZ ddlmZ ddlmZmZ dd lmZmZ dd
lmZmZ ddlmZ ddlmZ dd
l m!Z!m"Z"m#Z#m$Z$m%Z% ddl&m'Z' ee(�Z)da*G dd� de�Z+G dd� de�Z,G dd� de,�Z-G dd� de,�Z.G dd� de,�Z/ed!dd��Z0G dd � d e�Z1dS )"z�Network Authentication Helpers
Contains interface (MultiDomainBasicAuth) and associated glue code for
providing credentials in the context of network requests.
� )�annotationsN)�ABC�abstractmethod)�cache)�commonprefix)�Path)�Any�
NamedTuple)�AuthBase�
HTTPBasicAuth)�Request�Response)�get_netrc_auth)� getLogger)�ask� ask_input�ask_password�remove_auth_from_url�split_auth_netloc_from_url)�AuthInfoFc @ s&