Skip to content

Commit

Permalink
Merge pull request #221 from duo-labs/feat/add-smart-card-transport
Browse files Browse the repository at this point in the history
feat/add-smart-card-transport
  • Loading branch information
MasterKale authored Jun 24, 2024
2 parents 53c5f7b + 6a883d0 commit ca81666
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions webauthn/helpers/structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class AuthenticatorTransport(str, Enum):
USB = "usb"
NFC = "nfc"
BLE = "ble"
SMART_CARD = "smart-card"
INTERNAL = "internal"
CABLE = "cable"
HYBRID = "hybrid"
Expand Down Expand Up @@ -247,9 +248,9 @@ class AuthenticatorSelectionCriteria:
authenticator_attachment: Optional[AuthenticatorAttachment] = None
resident_key: Optional[ResidentKeyRequirement] = None
require_resident_key: Optional[bool] = False
user_verification: Optional[
UserVerificationRequirement
] = UserVerificationRequirement.PREFERRED
user_verification: Optional[UserVerificationRequirement] = (
UserVerificationRequirement.PREFERRED
)


@dataclass
Expand Down Expand Up @@ -469,9 +470,9 @@ class PublicKeyCredentialRequestOptions:
timeout: Optional[int] = None
rp_id: Optional[str] = None
allow_credentials: Optional[List[PublicKeyCredentialDescriptor]] = None
user_verification: Optional[
UserVerificationRequirement
] = UserVerificationRequirement.PREFERRED
user_verification: Optional[UserVerificationRequirement] = (
UserVerificationRequirement.PREFERRED
)


@dataclass
Expand Down

0 comments on commit ca81666

Please sign in to comment.