Viewing File: /opt/hc_python/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc
�
T�*jnQ � � � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z
ddlmZm
Z
ddlmZ ddlmZ ddlmZ ddlmZmZ dd lmZmZ dd
lmZ ddlmZ ddlmZmZm Z m!Z!m"Z" dd
l#m$Z$ ejJ rddl&m'Z' ddl(m)Z) ee*� Z+da, G d� de� Z- G d� de� Z. G d� de.� Z/ G d� de.� Z0 G d� de.� Z1edd�� Z2 G d� de� Z3y)z�Network Authentication Helpers
Contains interface (MultiDomainBasicAuth) and associated glue code for
providing credentials in the context of network requests.
� )�annotationsN)�ABC�abstractmethod)�cache)�
commonpath)�Path)�Any�
NamedTuple)�AuthBase�
HTTPBasicAuth)�get_netrc_auth)� getLogger)�ask� ask_input�ask_password�remove_auth_from_url�split_auth_netloc_from_url)�AuthInfo)�PreparedRequest)�ResponseFc �, � e Zd ZU ded<