mirai/mirai-core-api/compatibility-validation
StageGuard 545e5bb310
[core] Provide isFirstLogin and getReLoginCause in BotAuthInfo (#2664)
* [core] provide `isFirstLogin` and `getReLoginCause` in `BotAuthInfo`

* [core] provide `reAuthCause` as sealed class

* [core] add test

* Update mirai-core-api/src/commonMain/kotlin/auth/BotAuthorization.kt

我觉得这个描述不太好,因为这里是 `authorize` 过程而不是 `login` 过程

Co-authored-by: Him188 <Him188@mamoe.net>

* [core] optimize docs and rename

* import

* revert linebreak

---------

Co-authored-by: Him188 <Him188@mamoe.net>
2023-06-20 14:22:49 +01:00
..
android/api [core] Provide isFirstLogin and getReLoginCause in BotAuthInfo (#2664) 2023-06-20 14:22:49 +01:00
jvm/api [core] Provide isFirstLogin and getReLoginCause in BotAuthInfo (#2664) 2023-06-20 14:22:49 +01:00