Skip to content

auth.finishPasskeyLogin

auth.finishPasskeyLogin#9857ad07 flags:# credential:InputPasskeyCredential from_dc_id:flags.0?int from_auth_key_id:flags.0?long = auth.Authorization;

auth.Authorization

Name Type Flag Default Description
flags # flag word —
credential InputPasskeyCredential — —
from_dc_id flags.0?int flags.0 —
from_auth_key_id flags.0?long flags.0 —
Parameter Bit Meaning
from_dc_id 0 Controlled by flags; present when this bit is set.
from_auth_key_id 0 Controlled by flags; present when this bit is set.
from miniproto.raw.functions import AuthFinishPasskeyLogin

Public access: miniproto.raw.functions.AuthFinishPasskeyLogin.

auth.Authorization

Code Error Description
400 BUSINESS_CONNECTION_NOT_ALLOWED This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400 CREDENTIAL_INVALID The specified credential is invalid.
400 PASSKEY_ORIGIN_MISMATCH Third-party clients currently don’t support passkeys even when changing the origin.
500 AUTH_RESTART Restart the authorization process.

InputPasskeyCredential Known selected constructors: inputPasskeyCredentialPublicKey

auth.Authorization Known selected constructors: auth.authorization, auth.authorizationSignUpRequired

account.registerPasskey, auth.checkPassword, auth.finishFirebasePnvLogin, auth.firebasePnvSignUp, auth.importAuthorization, auth.importBotAuthorization, auth.importWebTokenAuthorization, auth.recoverPassword, auth.signIn, auth.signUp

  • unauthenticated allowed
  • user only

Schema sources