auth.FinishPasskeyLogin#

class pyrogram.raw.functions.auth.FinishPasskeyLogin#

Complete login with a passkey over an unauthenticated connection, see here for more info. Must be sent to the user’s native DC, as specified by the user_handle (dcId:userId) returned in the passkey assertion, see here for the full flow.

Usable by Users Bots

Note

This method may be used by not yet logged in connections.

Details:
  • Layer: 225

  • ID: 9857AD07

Parameters:
  • credential (InputPasskeyCredential) – Passkey assertion result.

  • from_dc_id (int 32-bit, optional) – DC ID used for the initial auth.initPasskeyLogin request; set only if the user’s DC is different from the DC used for the initial auth.initPasskeyLogin.

  • from_auth_key_id (int 64-bit, optional) – Auth key ID for the connection to from_dc_id (use the permanent auth key ID if PFS is enabled); set only if the user’s DC is different from the DC used for the initial auth.initPasskeyLogin.

Returns:

auth.Authorization