tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Temporary authentication #3053

Closed mrstecklo closed 1 month ago

mrstecklo commented 1 month ago

Hello,

Telegram API provides ways to share authentication between devices. E.g. with one-time code sent to an authenticated device. Or in a more explicit way with auth.exportLoginToken (or td_api::requestQrCodeAuthentication). But all those ways share persistent authentication.

Is there any way to share some temporary session token? Or is there a way not to store persistent auth info with tdlib?

levlam commented 1 month ago

No, there is no temporary authentication on Telegram.