ó
    €Ïš  ã                   ó&   • S r SSKr " S S\5      rg)ú3Interface to handle end to end flow of U2F signing.é    Nc                   óR   • \ rS rSrSr\R                  R                  4S jrS r	Sr
g)ÚBaseAuthenticatoré   r   c                 ó   • [         e)a“  Authenticates app_id with a security key.

Executes the U2F authentication/signature flow with a security key.

Args:
  app_id: The app_id to register the security key against.
  challenge_data: List of dictionaries containing a RegisteredKey ('key')
    and the raw challenge data ('challenge') for this key.
  print_callback: Callback to print a message to the user. The callback
    function takes one argument--the message to display.

Returns:
  A dictionary with the following fields:
    'clientData': url-safe base64 encoded ClientData JSON signed by the key.
    'signatureData': url-safe base64 encoded signature.
    'applicationId': application id.
    'keyHandle': url-safe base64 encoded handle of the key used to sign.

Raises:
  U2FError: There was some kind of problem with registration (e.g.
    the device was already registered or there was a timeout waiting
    for the test of user presence).
©ÚNotImplementedError)ÚselfÚapp_idÚchallenge_dataÚprint_callbacks       Ú6lib/third_party/pyu2f/convenience/baseauthenticator.pyÚAuthenticateÚBaseAuthenticator.Authenticate   s
   € ô2 Ðó    c                 ó   • [         e)zäIndicates whether the authenticator implementation is available to sign.

The caller should not call Authenticate() if IsAvailable() returns False

Returns:
  True if the authenticator is available to sign and False otherwise.

r   )r
   s    r   ÚIsAvailableÚBaseAuthenticator.IsAvailable1   s
   € ô Ðr   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚsysÚstderrÚwriter   r   Ú__static_attributes__r   r   r   r   r      s   † Ù;ð #&§*¡*×"2Ñ"2ôõ6	r   r   )r   r   Úobjectr   r   r   r   Ú<module>r       s   ðñ :Û 
ô'˜õ 'r   