Skip to main content

Module platform_passkey

Module platform_passkey 

Source
Expand description

Passkey and WebAuthn host capabilities.

Passkeys are credential assertions, not raw biometric access. A browser, operating system, password manager, or hardware authenticator may use a fingerprint, face check, device PIN, or security key touch to unlock the credential, but the app receives WebAuthn-style registration or authentication data for server verification.

Structs§

AuthenticatePasskeyCapability
CancelPasskeyOperationCapability
GetPasskeyAvailabilityCapability
PasskeyAuthenticationRequest
Request to authenticate with an existing passkey.
PasskeyAuthenticationResult
Successful passkey authentication payload.
PasskeyAuthenticatorSelection
Authenticator selection preferences for registration.
PasskeyAvailability
Host support state for passkey operations in the active session.
PasskeyCredentialDescriptor
Existing credential descriptor used for allow/exclude lists.
PasskeyError
Portable passkey error payload.
PasskeyRegistrationRequest
Request to create and register a new passkey.
PasskeyRegistrationResult
Successful passkey registration payload.
PasskeyRelyingParty
Relying-party identity used for passkey creation.
PasskeyUser
User identity supplied during passkey registration.
RegisterPasskeyCapability

Enums§

PasskeyAlgorithm
Public-key algorithm requested during credential creation.
PasskeyAttestationConveyance
Attestation conveyance preference for passkey registration.
PasskeyAuthenticatorAttachment
Authenticator attachment preference.
PasskeyMediation
Browser mediation preference for passkey authentication.
PasskeyResidentKeyRequirement
Resident-key requirement during passkey creation.
PasskeyTransport
Authenticator transport hints for existing credentials.
PasskeyUserVerification
How strongly the authenticator should verify the user.

Constants§

AUTHENTICATE_PASSKEY
CANCEL_PASSKEY_OPERATION
GET_PASSKEY_AVAILABILITY
REGISTER_PASSKEY