Skip to content

Added explicit keyInvalidated, lockout and lockoutPermanent exceptions - #158

Open
olehmarch-bro wants to merge 1 commit into
authpass:mainfrom
olehmarch-bro:main
Open

olehmarch-bro wants to merge 1 commit into
authpass:mainfrom
olehmarch-bro:main

Conversation

@olehmarch-bro

Copy link
Copy Markdown

Extended iOS and Android exception codes to give an ability to handle lockouts and key invalidations:

  • Added reliable lockout detection (AuthExceptionCode.lockout/.lockoutPermanent) on both Android and iOS, instead of collapsing into .unknown.
  • Added reliable key-invalidation detection (AuthExceptionCode.keyInvalidated) on both platforms — previously Android silently self-healed with no signal, and iOS reported a generic SecurityError.

@CLAassistant

CLAassistant commented Sep 1, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants