Component evidence
Defines WebAuthn data structures and enums for passwordless authentication.
# Source: https://github.com/duo-labs/py_webauthn | License: BSD-3-Clause | Copyright 2017-2021 Duo Security, Inc. All rights reserved
# Provided via justclaw.it.com; keep this notice with the code.
from enum import Enum
from dataclasses import dataclass, field
from typing import List, Literal, Optional
from .cose import COSEAlgorithmIdentifier
################
#
# Fundamental data structures
#
################
class AuthenticatorTransport(str, Enum):
"""How an authenticator communicates to the client/browser.
Members:
`USB`: USB wired connection
`NFC`: Near Field Communication
`BLE`: Bluetooth Low Energy
`INTERNAL`: Direct connection (read: a platform authenticator)
`CABLE`: Cloud Assisted Bluetooth Low Energy
`HYBRID`: A combi
... (truncated -- full source via MCP)