|
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/contrib/__pycache__/ |
U
O��g7 � @ s\ d Z ddlZddlZddlmZ ddlmZ ddlmZ e� e
�ZdZG dd� dej
�ZdS ) zoUtilities for Google Compute Engine
Utilities for making it easier to use OAuth 2.0 on Google Compute Engine.
� N)�http_client)�client)� _metadataz�You have requested explicit scopes to be used with a GCE service account.
Using this argument will have no effect on the actual scopes for tokens
requested. These scopes are set at VM instance creation time and
can't be overridden in the request.
c sj e Zd ZdZd� fdd� Zedd� �Zdd� Zd d
� Zdd� Z d
d� Z
edd� �Zdd� Z
dd� Z� ZS )�AppAssertionCredentialsa� Credentials object for Compute Engine Assertion Grants
This object will allow a Compute Engine instance to identify itself to
Google and other OAuth 2.0 servers that can verify assertions. It can be
used for the purpose of accessing data stored under an account assigned to
the Compute Engine instance itself.
This credential does not require a flow to instantiate because it
represents a two legged flow, and therefore has all of the required
information to generate and refresh its own access tokens.
Note that :attr:`service_account_email` and :attr:`scopes`
will both return None until the credentials have been refreshed.
To check whether credentials have previously been refreshed use
:attr:`invalid`.
Nc sF d|krt �t� d|d<