Ë
    v»•jú  ã                   ó¤  — d Z ddlZddlZddlZddlZddlZdZdZ ej                  «        ej                  dddd¬	«       ej                  d
dddd¬«       ej                  dddddd¬«       ej                  dddej                  j                   ej                  e«      e«      d¬«      d„ «       «       «       «       «       Zedk(  r e«        yy)a
  Command-line tool for obtaining authorization and credentials from a user.

This tool uses the OAuth 2.0 Authorization Code grant as described in
`section 1.3.1 of RFC6749`_ and implemeted by
:class:`google_auth_oauthlib.flow.Flow`.

This tool is intended for assist developers in obtaining credentials
for testing applications where it may not be possible or easy to run a
complete OAuth 2.0 authorization flow, especially in the case of code
samples or embedded devices without input / display capabilities.

This is not intended for production use where a combination of
companion and on-device applications should complete the OAuth 2.0
authorization flow to get authorization from the users.

.. _section 1.3.1 of RFC6749: https://tools.ietf.org/html/rfc6749#section-1.3.1
é    Nzgoogle-oauthlib-toolzcredentials.jsonz--client-secretsz<client_secret_json_file>Tz'Path to OAuth2 client secret JSON file.)ÚmetavarÚrequiredÚhelpz--scopez<oauth2 scope>z#API scopes to authorize access for.)Úmultipler   r   r   z--savez<save_mode>FzSave the credentials to file.)Úis_flagr   Úshow_defaultÚdefaultr   z--credentialsz<oauth2_credentials>z!Path to store OAuth2 credentials.)r   r   r	   r   c                 ó¨  — t         j                  j                  j                  | |¬«      }|j	                  «       }|j
                  |j                  |j                  |j                  |j                  |j                  dœ}|rœ|d= t        j                  j                  |«      }|r4t        j                  j                  |«      st        j                  |«       t!        |d«      5 }t#        j$                  ||«       ddd«       t'        j(                  d|z  «       yt'        j(                  t#        j*                  |«      «       y# 1 sw Y   ŒKxY w)a)  Command-line tool for obtaining authorization and credentials from a user.

    This tool uses the OAuth 2.0 Authorization Code grant as described
    in section 1.3.1 of RFC6749:
    https://tools.ietf.org/html/rfc6749#section-1.3.1

    This tool is intended for assist developers in obtaining credentials
    for testing applications or samples.

    This is not intended for production use where a combination of
    companion and on-device applications should complete the OAuth 2.0
    authorization flow to get authorization from the users.

    )Úscopes)ÚtokenÚrefresh_tokenÚ	token_uriÚ	client_idÚclient_secretr   r   ÚwNzcredentials saved: %s)Úgoogle_auth_oauthlibÚflowÚInstalledAppFlowÚfrom_client_secrets_fileÚrun_local_serverr   r   r   r   r   r   ÚosÚpathÚdirnameÚisdirÚmakedirsÚopenÚjsonÚdumpÚclickÚechoÚdumps)	Úclient_secretsÚscopeÚsaveÚcredentialsr   ÚcredsÚ
creds_dataÚconfig_pathÚoutfiles	            úU/var/www/html/venv/lib/python3.12/site-packages/google_auth_oauthlib/tool/__main__.pyÚmainr+   -   s
  € ôZ  ×$Ñ$×5Ñ5×NÑNØ˜uð Oó €Dð ×!Ñ!Ó#€Eð —‘Ø×,Ñ,Ø—_‘_Ø—_‘_Ø×,Ñ,Ø—,‘,ñ€Jñ Ø�wÐä—g‘g—o‘o kÓ2ˆÙœrŸw™wŸ}™}¨[Ô9Ü�K‰K˜Ô$ä�+˜sÓ#ð 	+ wÜ�I‰I�j 'Ô*÷	+ô 	�
‰
Ð*¨[Ñ8Õ9ô 	�
‰
”4—:‘:˜jÓ)Õ*÷	+ð 	+ús   Ã'EÅEÚ__main__)Ú__doc__r   r   Úos.pathr   Úgoogle_auth_oauthlib.flowr   ÚAPP_NAMEÚDEFAULT_CREDENTIALS_FILENAMEÚcommandÚoptionr   ÚjoinÚget_app_dirr+   Ú__name__© ó    r*   ú<module>r9      s  ðñó$ Û 	Û ã ã  à!€Ø1Ð ð €‡�ƒØ€‡�ØØ'ØØ	2ô	ð €‡�ØØØØØ	.ôð €‡�ØØØØØØ	(ôð €‡�ØØ"ØØ�G‰G�L‰LÐ*˜×*Ñ*¨8Ó4Ð6RÓSØ	,ôñ,+óóóóó ð:,+ð^ ˆzÒá…Fð r8   