feat(accounts): add disabled account state

This commit is contained in:
Sefa Eyeoglu
2022-02-18 12:26:52 +01:00
parent be910374dc
commit 9c71f364d2
6 changed files with 28 additions and 0 deletions

View File

@ -35,6 +35,7 @@ enum class AccountTaskState
STATE_CREATED,
STATE_WORKING,
STATE_SUCCEEDED,
STATE_DISABLED, //!< MSA Client ID has changed. Tell user to reloginn
STATE_FAILED_SOFT, //!< soft failure. authentication went through partially
STATE_FAILED_HARD, //!< hard failure. main tokens are invalid
STATE_FAILED_GONE, //!< hard failure. main tokens are invalid, and the account no longer exists