AuthenticatorTransport (helpers/structs.py)

py_webauthn · webauthn/helpers/structs.py · python · BSD-3-Clause
auth

Module exposing: AuthenticatorTransport, AuthenticatorAttachment, ResidentKeyRequirement, UserVerificationRequirement, AttestationConveyancePreference, PublicKeyCredentialType, AttestationFormat, ClientDataType

# 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)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key