OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
third_party
/
pyu2f
/
pyu2f
/
convenience
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/11/2025 08:19:48 AM
rwxr-xr-x
📄
__init__.cpython-39.pyc
218 bytes
02/11/2025 08:19:48 AM
rw-r--r--
📄
authenticator.cpython-39.pyc
1.58 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
baseauthenticator.cpython-39.pyc
1.99 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
customauthenticator.cpython-39.pyc
6.43 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
localauthenticator.cpython-39.pyc
2.1 KB
02/11/2025 08:19:48 AM
rw-r--r--
Editing: authenticator.cpython-39.pyc
Close
a ��aO � @ sN d Z ddlZddlmZ ddlmZ ddlmZ dd� ZG dd � d ej�ZdS ) z3Interface to handle end to end flow of U2F signing.� N)�baseauthenticator)�customauthenticator)�localauthenticatorc C s t �| �t�| �g}t|�S �N)r ZCustomAuthenticatorr ZLocalAuthenticator�CompositeAuthenticator)�origin�authenticators� r �@/opt/gsutil/third_party/pyu2f/pyu2f/convenience/authenticator.py�CreateCompositeAuthenticator s �r c @ s0 e Zd ZdZdd� Zejjfdd�Zdd� Z dS ) r z�Composes multiple authenticators into a single authenticator. Priority is based on the order of the list initialized with the instance. c C s || _ d S r )r )�selfr r r r �__init__$ s zCompositeAuthenticator.__init__c C s6 | j D ]"}|�� r|�|||�}| S qtd��dS )�See base class.zNo valid authenticators foundN)r �IsAvailable�Authenticate� ValueError)r �app_id�challenge_data�print_callback� authenticator�resultr r r r '