Skip to content

addLoginPasskey

Function · TDLib 1.8.67 · d1085f9c

Adds a passkey allowed to be used for the login by the current user and returns the added passkey. Call getPasskeyParameters to get parameters for creating of the passkey

addLoginPasskey(
  client_data: string,
  attestation_object: bytes
) → Passkey

client_data

string

JSON-encoded client data

attestation_object

bytes

Passkey attestation object