Commit Graph

68 Commits

Author SHA1 Message Date
levlam
36792bf7b3 Make AuthManager::DbState private. 2023-07-01 18:40:19 +03:00
levlam
1af942de49 Add td_api::resetAuthenticationEmailAddress. 2023-03-20 15:17:51 +03:00
levlam
e47adeab37 Improve email address reset API. 2023-03-20 14:45:11 +03:00
levlam
61a4259bfe Add email address reset infomation to authorizationStateWaitEmailCode. 2023-03-20 01:40:05 +03:00
levlam
b27eeda8bd Add authorizationStateWaitPassword.has_passport_data. 2023-02-22 15:59:36 +03:00
levlam
e9aa2fd64b Don't try to check password without checkAuthenticationPassword/recoverAuthenticationPassword query. 2023-02-04 13:36:01 +03:00
levlam
65ddaea0f6 Add sendAuthenticationFirebaseSms. 2023-01-19 16:45:47 +03:00
levlam
050a11ece7 Update layer to 152. 2023-01-06 12:42:16 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
2e6ac1f22c Simplify authorization state timeout handling. 2022-11-15 11:36:39 +03:00
levlam
886a6125e9 Add class EmailVerification. 2022-09-06 23:29:57 +03:00
levlam
8f16191182 Add authorizationStateWaitEmailCode.next_phone_number_authorization_date. 2022-09-06 18:15:43 +03:00
levlam
cba73d5bba Support login with email verification. 2022-09-06 17:42:19 +03:00
levlam
3a84a9c226 Add td_api::checkAuthenticationEmailCode. 2022-09-06 17:17:39 +03:00
levlam
5e4a8ea664 Add authorizationStateWaitEmailCode. 2022-09-06 16:08:10 +03:00
levlam
45484ce53b Add td_api::setAuthenticationEmailAddress. 2022-09-06 14:04:39 +03:00
levlam
6ac839576c Add authorizationStateWaitEmailAddress. 2022-09-06 12:31:54 +03:00
levlam
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
93b3f64121 Pass parameter by value. 2021-12-15 20:30:25 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
709afe3f0c Add checkAuthenticationPasswordRecoveryCode. 2021-06-28 22:33:08 +03:00
levlam
1394d5d697 Support new_password in recoverAuthenticationPassword. 2021-06-28 21:36:54 +03:00
levlam
3c400f12b4 Support new_password in recoverPassword. 2021-06-28 19:47:23 +03:00
levlam
2b7b6b7759 Improve logging on log out. 2021-06-27 05:52:43 +03:00
levlam
4f644ce389 Add and use statis UserId::get_user_ids/get_input_user_ids methods. 2021-03-29 00:50:15 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
641485502e Remove copy-paste.
GitOrigin-RevId: cfac1de1eb79634dd846e852ae4b7ac83e126374
2020-08-17 17:35:15 +03:00
levlam
cc28bdeae3 Fix "log out" spelling.
GitOrigin-RevId: e943fa4531d4d15043f762883eb8b77d9c58365d
2020-07-23 00:19:47 +03:00
levlam
fcd09d5c25 Fix error logging.
GitOrigin-RevId: d734897ab870154d47a3e576ba3cba8eb4d3156e
2020-07-22 21:28:20 +03:00
levlam
269047d133 Remove AuthManager::set_is_bot.
GitOrigin-RevId: b56180dda8aab189c0cb3a3d2f5624e4a5307366
2020-04-30 00:54:43 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
adb10460b2 Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
2019-12-23 20:48:30 +03:00
levlam
9f60d0bae1 Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
2019-12-17 19:17:57 +03:00
levlam
56eb8e0f9a Update layer to 104.
GitOrigin-RevId: a83eaf0a77fba5ccb0d34f690b2031c2ff5550f2
2019-11-08 19:23:05 +03:00
levlam
b1347c3226 Add separate authorizationStateWaitRegistration.
GitOrigin-RevId: 1e41124d6174e956ce74266c9140ad346cf8a6f0
2019-07-16 22:08:34 +03:00
levlam
68b2d10fdb Add td_api::phoneNumberAuthenticationSettings and support automatic code retrival from SMS on Android.
GitOrigin-RevId: f97bd5bf3eb7449da1b14242fa47537801657b04
2019-05-03 05:44:59 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
5d1f93c1c5 Add PhoneNumberManager.h.
GitOrigin-RevId: 7823601e61375efd9e7166add8028d3f5ee6ad1f
2019-02-16 19:01:47 +03:00
levlam
b52a66bf12 Add SendCodeHelper.h.
GitOrigin-RevId: 0e8ad767eb1415856b329f508d8741bf4e7912f7
2019-02-16 18:49:39 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
8eb396ae87 Fix updateAuthorizationState on destroy.
GitOrigin-RevId: 584e09935420af73d049a7f9ca669a16f2205304
2018-12-26 22:04:46 +03:00
Arseny Smirnov
27770ce060 Destroy mtproto keys on logout
GitOrigin-RevId: 8ac2bafd2d1897dc0942a33d8406ea8c2e5dfaa7
2017-12-29 23:34:39 +03:00
levlam
db14b2da4e Add dummy td_api::getCurrentState.
GitOrigin-RevId: 31ea0cfdc0c715fec52ef27340bed7358b13e042
2018-09-20 19:33:41 +03:00
levlam
2d05be04dd Follow new server-side limits on first/last name and title length.
GitOrigin-RevId: 89fe4eb85c42859974142fd163ea9fd062fde459
2018-09-17 07:00:19 +03:00
levlam
bd09e39788 Fix logging in after entering a wrong password.
GitOrigin-RevId: 3f0284a015fb9b59257befc5d988833ecdaa1f64
2018-08-13 12:24:37 +03:00
levlam
8283d04942 Auto log in if password was removed just after code checking.
GitOrigin-RevId: f01d53b5d93ec20690a4099d8be1d60d6b9ca3c1
2018-08-13 01:44:53 +03:00