Interface 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. Request type for Tdjson#checkAuthenticationPasskey.

interface CheckAuthenticationPasskey {
    @type: "checkAuthenticationPasskey";
    authenticator_data: string;
    client_data: string;
    credential_id: string;
    signature: string;
    user_handle: string;
}

Properties

@type: "checkAuthenticationPasskey"
authenticator_data: string

Authenticator data of the application that created the credential.

client_data: string

JSON-encoded client data.

credential_id: string

Base64url-encoded identifier of the credential.

signature: string

Cryptographic signature of the credential.

user_handle: string

User handle of the passkey.