|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/site-packages/oauth2client/__pycache__/ |
U
O��gYE � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlm
Z
ddlmZ ddlZddlmZ ddlmZ ddlmZ ddlmZ d Zd Zzdd
lmZ dZejdk ZW n ek
r� Y nX e�e�ZdZd
ZeZdZdZ dZ!dZ"dZ#dZ$de" d Z%dZ&e�'dddg�Z(dZ)e�*dd�Z+ze,e�*dd��Z-W n e.k
�rt dZ-Y nX dZ/d e�*d!d"� Z0d#Z1d$Z2e1e2iZ3ejj4Z5ej6Z6ej7Z7ej8Z8G d%d&� d&e9�Z:G d'd(� d(e;�Z<G d)d*� d*e<�Z=G d+d,� d,e<�Z>G d-d.� d.e>�Z?G d/d0� d0e<�Z@G d1d2� d2e<�ZAG d3d4� d4e<�ZBG d5d6� d6e<�ZCG d7d8� d8e<�ZDG d9d:� d:e<�ZEG d;d<� d<e<�ZFG d=d>� d>e<eG�ZHd?d@� ZIG dAdB� dBe9�ZJG dCdD� dDe9�ZKG dEdF� dFe9�ZLG dGdH� dHeJ�ZMG dIdJ� dJeM�ZNdKdL� ZOdMdN� ZPdOdP� ZQG dQdR� dReM�ZRdSdT� ZSddUdV�ZTdWdX� ZUdYdZ� ZVd[d\� ZWd]d^� ZXd_d`� ZYdadb� ZZdcdd� Z[G dedf� dfeR�Z\dgdh� Z]e�^di�defdjdk��Z_dldm� Z`dndo� Zae�^dp�dqddejbejcejdejeejfd df
drds��Zge�^d�d�dtdu��ZhG dvdw� dwe�'dwdx��Zidydz� ZjG d{d|� d|eK�Zke�^di�d�d}d~��ZldS )�zPAn OAuth 2.0 client.
Tools for interacting with OAuth 2.0 protected resources.
� N)�http_client)�urllib)�_helpers)�_pkce)�
clientsecrets)� transportF)�cryptTz%Y-%m-%dT%H:%M:%SZz*https://www.googleapis.com/oauth2/v1/certszurn:ietf:wg:oauth:2.0:oob�authorized_user�service_account�GOOGLE_APPLICATION_CREDENTIALSZgcloudZCLOUDSDK_CONFIGz�The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable z� must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.z$application_default_credentials.json�AccessTokenInfo�access_token�
expires_in�UNKNOWN�NO_GCE_CHECK�False�GCE_METADATA_TIMEOUT� �SERVER_SOFTWAREzhttp://ZGCE_METADATA_IPz169.254.169.254zmetadata-flavorZGooglec @ s e Zd ZdZdZdS )�SETTINGSz/Settings namespace for globally defined values.N)�__name__�
__module__�__qualname__�__doc__�env_name� r r �@/opt/cppython/lib/python3.8/site-packages/oauth2client/client.pyr s r c @ s e Zd ZdZdS )�ErrorzBase error for this module.N�r r r r r r r r r � s r c @ s e Zd ZdZdS )�FlowExchangeErrorzDError trying to exchange an authorization grant for an access token.Nr r r r r r � s r c @ s e Zd ZdZdS )�AccessTokenRefreshErrorz0Error trying to refresh an expired access token.Nr r r r r r � s r c s e Zd ZdZ� fdd�Z� ZS )�HttpAccessTokenRefreshErrorzCError (with HTTP status) trying to refresh an expired access token.c s t t| �j|� |�d�| _d S )N�status)�superr! �__init__�getr"