+
    ÆÚj¥#  ã            
       ó~  € R t ^ RIt^ RIt]P                  t ! R R]4      tR t]P                  ! ]! R4      4      t
]P                  ! ]! R4      4      t]P                  t]P                  3]n        ]
P                   t]]P                  3]n        ]P$                  ]n        ]
P(                  t]P$                  ]P,                  ! ]P                  4      3]n        ]]n        ]
P.                  t]P,                  ! ]P                  4      3]n        ]]n        ]
P2                  t]P                  ]P                  3]n        ]]n        ]
P6                  t]P                  ]P                  ]P:                  ]P                  3]n        ]]n        ]
P<                  t]P                  ]P:                  ]P$                  ]P:                  ]P$                  ]P,                  ! ]P:                  4      ]P,                  ! ]P                  4      ]P,                  ! ]P                  4      3]n        ]]n        ]
P@                  t!]P                  ]P:                  ]P$                  ]P:                  ]P$                  ]P:                  ]P$                  ]P,                  ! ]P                  4      3]!n        ]]!n         ! R R]"4      t#R# )	zLImplements a macOS specific TokenCache, and provides auxiliary helper types.Nc                   óF   a a€ ] tR t^t oRtRtRtRtRtV 3R lt	Rt
VtV ;t# )ÚKeychainErrorzRThe RuntimeError that will be run when a function interacting with Keychain fails.c                óx   <€ \         \        V `  4        Wn        R P	                  V P                  4      V n        R# )zW{} see https://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/MacErrors.hN)Úsuperr   Ú__init__Úexit_statusÚformatÚmessage)Úselfr   Ú	__class__s   &&€ÚŠ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/msal_extensions/osx.pyr   ÚKeychainError.__init__   s3   ø€ ÜŒm˜TÑ+Ô-Ø&Ôð fß‰V�D×$Ñ$Ó%ð 	Žó    )r   r	   i€ÿÿÿi2�ÿÿi%�ÿÿi,�ÿÿ)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚACCESS_DENIEDÚNO_SUCH_KEYCHAINÚ
NO_DEFAULTÚITEM_NOT_FOUNDr   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r   Ú__classdict__s   @@r   r   r      s'   ù‡ € Ù\à€MØÐØ€JØ€N÷'õ 'r   r   c                ó$   € RP                  V 4      # )z 
Fetches the location of a native MacOS library.
:param name: The name of the library to be loaded.
:return: The location of the library on a MacOS filesystem.
z,/System/Library/Frameworks/{0}.framework/{0})r   )Únames   &r   Ú_get_native_locationr      s   € ð :×@Ñ@ÀÓFÐFr   ÚSecurityÚCoreFoundationc                   óR   a € ] tR t^}t o RtRR ltR tR tR tR t	R t
R	 tR
tV tR# )ÚKeychainz?Encapsulates the interactions with a particular MacOS Keychain.Nc                óÆ   € \         P                  ! 4       V n        V'       d8   \        P                  P                  V4      pVP                  R 4      V n        R# RV n        R# )úutf-8N)Ú_ctypesÚc_void_pÚ_refÚosÚpathÚ
expanduserÚencodeÚ	_filename)r
   Úfilenames   &&r   r   ÚKeychain.__init__   s@   € ä×$Ò$Ó&ˆŒ	çÜ—w‘w×)Ñ)¨(Ó3ˆHØ%Ÿ_™_¨WÓ5ˆDŽNà!ˆDŽNr   c                ó¼   € V P                   '       d"   \        V P                   V P                  4      pM\        V P                  4      pV'       d   \	        V4      hV # ©N)r,   Ú_SECURITY_KEYCHAIN_OPENr'   Ú_SECURITY_KEYCHAIN_COPY_DEFAULTÚOSError)r
   Ústatuss   & r   Ú	__enter__ÚKeychain.__enter__‰   s?   € Ø�>�>ˆ>Ü,¨T¯^©^¸T¿Y¹YÓG‰Fä4°T·Y±YÓ?ˆFçÜ˜&“/Ð!Øˆr   c                óX   € V P                   '       d   \        V P                   4       R # R # r0   )r'   Ú_CORE_RELEASE)r
   Úargss   &*r   Ú__exit__ÚKeychain.__exit__“   s   € Ø�9�9ˆ9Ü˜$Ÿ)™)Ö$ñ r   c           
     ó  € VP                  R4      pVP                  R4      p\        P                  ! 4       p\        P                  ! 4       p\	        V P
                  \        V4      V\        V4      VVVR4      pV'       d   \        VR7      h\        P                  ! VP                  4      p\        P                  ! WdP                  VP                  4       \        RV4       VP                  P                  R4      # )a'  Fetch the password associated with a particular service and account.

:param service: The service that this password is associated with.
:param account_name: The account that this password is associated with.
:return: The value of the password associated with the specified service and account.
r$   N©r   )r+   r%   Úc_uint32r&   Ú(_SECURITY_KEYCHAIN_FIND_GENERIC_PASSWORDr'   Úlenr   Úcreate_string_bufferÚvalueÚmemmoveÚ$_SECURITY_KEYCHAIN_ITEM_FREE_CONTENTÚrawÚdecode)r
   ÚserviceÚaccount_nameÚlengthÚcontentsr   rB   s   &&&    r   Úget_generic_passwordÚKeychain.get_generic_password—   sÆ   € ð —.‘. Ó)ˆØ#×*Ñ*¨7Ó3ˆä×!Ò!Ó#ˆÜ×#Ò#Ó%ˆÜ>Ø�I‰IÜ�‹LØÜ�ÓØØØØó	
ˆ÷ Ü¨KÔ8Ð8ä×,Ò,¨V¯\©\Ó:ˆÜ�Š˜Ÿ~™~¨v¯|©|Ô<Ü,¨T°8Ô<Ø�y‰y×Ñ Ó(Ð(r   c           
     ó4  € VP                  R4      pVP                  R4      pVP                  R4      p\        P                  ! 4       p\        V P                  \        V4      V\        V4      VRRV4      pV'       g.   \        VR\        V4      V4      pV'       d   \        VR7      hR# V\        P                  8X  dN   \        V P                  \        V4      V\        V4      V\        V4      VR4      pV'       d   \        VR7      hR# \        VR7      h)zõAssociate a password with a given service and account.

:param service: The service to associate this password with.
:param account_name: The account to associate this password with.
:param value: The string that should be used as the password.
r$   Nr=   )
r+   r%   r&   r?   r'   r@   Ú2_SECURITY_KEYCHAIN_ITEM_MODIFY_ATTRIBUTES_AND_DATAr   r   Ú'_SECURITY_KEYCHAIN_ADD_GENERIC_PASSWORD)r
   rG   rH   rB   ÚentryÚfind_exit_statusÚmodify_exit_statusÚadd_exit_statuss   &&&&    r   Úset_generic_passwordÚKeychain.set_generic_password·   s
  € ð —.‘. Ó)ˆØ#×*Ñ*¨7Ó3ˆØ—‘˜WÓ%ˆä× Ò Ó"ˆÜCØ�I‰IÜ�‹LØÜ�ÓØØØØó	
Ð÷  Ü!SØØÜ�E“
Øó	"Ð÷ "Ü#Ð0BÔCÐCñ "ð ¤×!=Ñ!=Ô=ÜEØ—	‘	Ü�G“ØÜ�LÓ!ØÜ�E“
ØØó	ˆO÷ Ü#°Ô@Ð@ñ ô  Ð,<Ô=Ð=r   c                ó   € \        4       h)a:  Fetches a password associated with a domain and username.
NOTE: THIS IS NOT YET IMPLEMENTED
:param service: The website/service that this password is associated with.
:param username: The account that this password is associated with.
:return: The password that was associated with the given service and username.
©ÚNotImplementedError)r
   rG   Úusernames   &&&r   Úget_internet_passwordÚKeychain.get_internet_passwordê   ó   € ô "Ó#Ð#r   c                ó   € \        4       h)aD  Sets a password associated with a domain and a username.
NOTE: THIS IS NOT YET IMPLEMENTED
:param service: The website/service that this password is associated with.
:param username: The account that this password is associated with.
:param value: The password that should be associated with the given service and username.
rW   )r
   rG   rY   rB   s   &&&&r   Úset_internet_passwordÚKeychain.set_internet_passwordô   r\   r   )r,   r'   r0   )r   r   r   r   r   r   r5   r:   rK   rT   rZ   r^   r   r   )r   s   @r   r"   r"   }   s2   ø‡ € ÙIô"òò%ò)ò@1>òf$÷$ð $r   r"   )$r   r(   Úctypesr%   Úc_int32Ú	OS_RESULTr3   r   r   ÚCDLLÚ	_SECURITYÚ_COREÚ	CFReleaser8   r&   ÚargtypesÚSecCopyErrorMessageStringÚ#_SECURITY_COPY_ERROR_MESSAGE_STRINGÚc_char_pÚrestypeÚSecKeychainOpenr1   ÚPOINTERÚSecKeychainCopyDefaultr2   ÚSecKeychainItemFreeContentrD   Ú&SecKeychainItemModifyAttributesAndDatarN   r>   ÚSecKeychainFindGenericPasswordr?   ÚSecKeychainAddGenericPasswordrO   Úobjectr"   © r   r   Ú<module>ru      s­  ðñ Sã 	Û à�O‰O€	ô'�Gô 'ò"Gð �LŠLÑ-¨jÓ9Ó:€	Ø�ŠÑ)Ð*:Ó;Ó<€ð —‘€à×Ñð€Ô ð '0×&IÑ&IÐ #àØ×Ñð0Ð #Ô ,ð /6×.>Ñ.>Ð #Ô +ð $×3Ñ3Ð à×ÑØ‡O‚O�G×$Ñ$Ó%ð$Ð Ô  ð #,Ð Ô ð #,×"BÑ"BÐ à‡O‚O�G×$Ñ$Ó%ð,Ð Ô (ð +4Ð Ô 'ð (1×'KÑ'KÐ $à×ÑØ×Ñð1Ð $Ô -ð 09Ð $Ô ,ð ×4Ñ4ð 3ð ×ÑØ×ÑØ×ÑØ×Ñð	?Ð 2Ô ;ð >GÐ 2Ô :ð ,5×+SÑ+SÐ (à×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ‡O‚O�G×$Ñ$Ó%Ø‡O‚O�G×$Ñ$Ó%Ø‡O‚O�G×$Ñ$Ó%ð	5Ð (Ô 1ð 4=Ð (Ô 0ð +4×*QÑ*QÐ 'à×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ×ÑØ‡O‚O�G×$Ñ$Ó%ð	4Ð 'Ô 0ð 3<Ð 'Ô /ô$ˆvö $r   