+
    ei  c                   s:    R t ^ RIt^RIHtHtHt  ! R R4      tR# )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)delete_passwordget_passwordset_passwordc                   s8   a  ] tR t^t o R tR tR tR tRtV t	R# )PasswordMgrc                s,    \         P                  ! 4       # N)getpassZgetuser)selfrealmauthuris   &&&1/usr/lib/python3.14/site-packages/keyring/http.pyget_usernameZPasswordMgr.get_username   s          c                s@    V P                  W4      p\        WV4       R # r   )r
   r   )r   r   r   passwordusers   &&&& r	   add_passwordZPasswordMgr.add_password   s      0U(+r   c                s    V P                  W4      p\        W4      pVf/   RV RV RV R2p\        P                  ! V4      p\        WV4       W43# )Nzpassword for Z@z for z: )r
   r   r   r   )r   r   r   r   r   Zprompts   &&&   r	   find_user_passwordZPasswordMgr.find_user_password   s\      0,$TF!E7%yCFv.Hh/~r   c                s>    V P                  W4      p\        W4       R # r   )r
   r    )r   r   r   r   s   &&& r	   clear_passwordZPasswordMgr.clear_password%   s      0$r    N)
Z__name__Z
__module__Z__qualname__Z__firstlineno__r
   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r	   r   r      s     !,% %r   r   )Z__doc__r   Z r    r   r   r   r   r   r	   <module>r      s     9 9% %r   