?????????? ????????? - ??????????????? - /home/agenciai/.local/lib/python3.9/site-packages/mysql/connector/aio/plugins/__pycache__/authentication_webauthn_client.cpython-39.pyc
???????
a ��Jh�* � @ s d Z ddlmZmZmZmZ ddlmZmZ ddl m Z ddl mZ erTddlm Z z8dd lmZ dd lmZmZ ddlmZ ddlmZ W n0 ey� Z ze�d �e�W Y dZ[n dZ[0 0 zddlmZ dZW n ey� dZY n0 dZG dd� de�Z G dd� de�Z!dS )zWebAuthn Authentication Plugin.� )� TYPE_CHECKING�Any�Callable�Optional)�errors�utils� )�logger� )�MySQLAuthPlugin)�MySQLSocket)� dump_bytes)�Fido2Client�UserInteraction)� CtapHidDevice)�!PublicKeyCredentialRequestOptionszxModule fido2 is required for WebAuthn authentication mechanism but was not found. Unable to authenticate with the serverN)�CtapPcscDeviceTF�MySQLWebAuthnAuthPluginc @ s2 e Zd ZdZd ee d�dd�Zdd�dd�ZdS ) �ClientInteractionz(Provides user interaction to the Client.N)�callbackc C s || _ d| _d S )NzTPlease insert FIDO device and perform gesture action for authentication to complete.)r �msg)�selfr � r �o/home/agenciai/.local/lib/python3.9/site-packages/mysql/connector/aio/plugins/authentication_webauthn_client.py�__init__C s �zClientInteraction.__init__��returnc C s&