+
    ei
  c                   s    ^ RI t ^ RIt^ RIt^ RIt^RIHt ^RIHt ^RIH	t	H
t
HtHt  ^RIHt R t ! R R]4      tR#   ] d     Li ; i)	i    N)KeyringBackend)
properties)KeyringErrorKeyringLockedPasswordDeleteErrorPasswordSetError)apic                 sF   a  \         P                  ! S 4      V 3R  l4       pV# )c                 sp   < V P                   '       d   \        P                  ! R ^R7       S! V .VO5/ VB # )z'Specified keychain is ignored. See #623Z
stacklevel)keychainwarningswarn)selfZargsZkwargsfuncs   &*,D/usr/lib/python3.14/site-packages/keyring/backends/macOS/__init__.pywrapperZwarn_keychain.<locals>.wrapper   s1    ===MMCPQRD*4*6**    )	functoolsZwraps)r   r   s   f r   warn_keychainr      s%    __T+ +
 Nr   c                   s   a  ] tR t^t o Rt]P                  P                  R4      t ]	P                  R 4       t]R 4       t]R 4       t]R 4       tR tRtV tR	# )
KeyringzmacOS KeychainZKEYCHAIN_PATHc                s    \         P                  ! 4       R8w  d   \        R4      hR\        4       9  d   \        R4      h^# )z'
Preferred for all macOS environments.
ZDarwinzmacOS requiredr   zSecurity API unavailable)platformZsystemZRuntimeErrorZglobals)Zclss   &r   priorityZKeyring.priority    s8    
 ??(/00	!9::r   c                s    Vf   Rp \         P                  ! V P                  WV4       R #   \         P                   d   p\	        RT 24      ThR p?i\         P
                   d   p\        RT 24      ThR p?ii ; i)N z"Can't store password on keychain: )r   Zset_generic_passwordr   KeychainDeniedr   Errorr   )r   serviceusernameZpasswordes   &&&& r   set_passwordZKeyring.set_password+   sz    H	T$$T]]GxP!! 	Q"DQC HIqPyy 	T"%Gs#KLRSS	Ts'   ", A<AA<'A<(A77A<c                s&   Vf   Rp \         P                  ! V P                  W4      #   \         P                   d     R # \         P                   d   p\        RT 24      ThR p?i\         P                   d   p\        RT 24      ThR p?ii ; i)Nr   z"Can't get password from keychain: )r   Zfind_generic_passwordr   ZNotFoundr   r   r   r   r   r   r   r      &&& r   get_passwordZKeyring.get_password7   s    H	P,,T]]GNN|| 	!! 	Q"DQC HIqPyy 	P!CA3GHaO	Ps3    ) BBBA$$B;B<BBc                s    Vf   Rp \         P                  ! V P                  W4      #   \         P                   d   p\	        RT 24      ThR p?ii ; i)Nr   z#Can't delete password in keychain: )r   Zdelete_generic_passwordr   r   r   r   r   r   delete_passwordZKeyring.delete_passwordE   sV    H	X..t}}gPPyy 	X%(KA3&OPVWW	Xs    ) AAAc                s`    \         P                  ! R \        ^R7       V P                  VR7      # )zGmacOS.Keyring.with_keychain is deprecated. Use with_properties instead.r   )r   )r	   r
   ZDeprecationWarningZwith_properties)r   r   s   &&r   with_keychainZKeyring.with_keychainO   s-    U	

 ##X#66r    N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__osZenvironZgetr   r   Zclasspropertyr   r   r   r   r   r    Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s     zz~~o.H/  	T 	T P P X X7 7r   r   )r   r"   r   r	   Zbackendr    Zcompatr   Zerrorsr   r   r   r   r   r   Z	Exceptionr   r   r!   r   r   <module>r#      sJ     	   %   X X	
;7n ;7  		s   A   A
	A
