checkAuthenticationPasskey¶
Checks a passkey to log in to the corresponding account. Call getAuthenticationPasskeyParameters to get parameters for the passkey. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation, or if there is no pending authentication query and the current authorization state is authorizationStateWaitPremiumPurchase, authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword
checkAuthenticationPasskey(
credential_id: string,
client_data: string,
authenticator_data: bytes,
signature: bytes,
user_handle: bytes
) → Ok
credential_id¶
string
Base64url-encoded identifier of the credential
client_data¶
string
JSON-encoded client data
authenticator_data¶
bytes
Authenticator data of the application that created the credential
signature¶
bytes
Cryptographic signature of the credential
user_handle¶
bytes
User handle of the passkey