auth.initPasskeyLogin

Initialize login with a passkey over an unauthenticated connection, see here » for more info.

auth.passkeyLoginOptions#e2037789 options:DataJSON = auth.PasskeyLoginOptions;
---functions---
auth.initPasskeyLogin#518ad0b7 api_id:int api_hash:string = auth.PasskeyLoginOptions;

Parameters

Name Type Description
api_id int Application identifier (see App configuration)
api_hash string Application identifier hash (see App configuration)

Result

auth.PasskeyLoginOptions

Only users can use this method

This method can be invoked over an unauthenticated connection »

Possible errors

Code Type Description
400 API_ID_INVALID API ID invalid.
500 AUTH_RESTART Restart the authorization process.
500 PASSKEY_AUTH_RESTART  

Related pages

Passkeys