Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/add-smart-card-transport #221

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading