| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/launchpadlib/__pycache__/ |
Upload File : |
+
Z4i�v � � � R t . R7Ot^ RIHtHt ^ RIt^ R IHt ^ RIt^ RI t ^ R
I
H
t
^ RIt^ RIH
t
^ RIt^ RIHtHtHt ^ RIt^ R
IHt ^ RIHtHtHtHt ^ RIHt RtRtRt ^t!R8t"]#]$]%3t&R t'R t( ! R R]4 t) ! R R]4 t ! R R]4 t* ! R R4 t+ ! R R]+4 t, ! R R]+4 t- ! R R]+4 t. ! R R4 t/ ! R R!]/4 t0 ! R" R]04 t1 ! R# R$]24 t3 ! R% R&]34 t4 ! R' R(]34 t5 ! R) R*]54 t6 ! R+ R,]54 t7 ! R- R.]74 t8 ! R/ R0]34 t9 ! R1 R2]34 t: ! R3 R4]34 t; ! R5 R6]34 t<R# )9z4launchpadlib credentials and authentication support.�AccessToken�AnonymousAccessToken� AuthorizeRequestTokenWithBrowser�CredentialStore�RequestTokenAuthorizationEngine�Credentials)� b64decode� b64encodeN)�StringIO)�select)�stdin)� urlencode�urljoin�parse_qs)� HTTPError)r �Consumer�OAuthAuthorizer�SystemWideConsumer)�urisz+request-tokenz
+access-tokenz+authorize-tokenc �T � \ \ P P RR4 4 # )z�Whether the user has disabled SSL certificate connection.
Some testing servers have broken certificates. Rather than raising an
error, we allow an environment variable,
``LP_DISABLE_SSL_CERTIFICATE_VALIDATION`` to disable the check.
�%LP_DISABLE_SSL_CERTIFICATE_VALIDATIONF)�bool�os�environ�get� � �:/usr/lib/python3/dist-packages/launchpadlib/credentials.py�$_ssl_certificate_validation_disabledr ? s � � ��
�
���F��N�O�Or c � � \ 4 p\ P ! VR7 P V RV\ V4 R7 w rEVP
^�8w d \
WE4 hWE3# )z�POST to ``url`` with ``headers`` and a body of urlencoded ``params``.
Wraps it up to make sure we avoid the SSL certificate validation if our
environment tells us to. Also, raises an error on non-200 statuses.
)�"disable_ssl_certificate_validation�POST)�method�headers�body)r �httplib2�Http�requestr
�statusr )�urlr# �params�
cert_disabled�response�contents &&& r �
_http_postr. L s[ � � 9�:�M� �
�
�+8��
�g�c�&�'� �&�8I�g�J� �H� ���#����*�*���r c � a � ] tR t^[t o RtRtRtRtRtRt R t
]R 4 tR]
P ]3R lt]
P 3R
ltRtV tR# )r z�Standard credentials storage and usage class.
:ivar consumer: The consumer (application)
:type consumer: `Consumer`
:ivar access_token: Access information on behalf of the user
:type access_token: `AccessToken`
N�uri�dictz<BR>�
c � � \ 4 pV P V4 VP 4 p\ V\ 4 '