nest_auth_flutter 2.11.1
nest_auth_flutter: ^2.11.1 copied to clipboard
Flutter / Dart SDK for NestJS authentication with @ackplus/nest-auth — HTTP client, secure token storage, and automatic refresh.
Changelog #
2.10.1 #
- No Flutter SDK changes — lockstep release with the refresh-token-401 fix (
@ackplus/nest-auth2.10.1).
2.10.0 #
- Added
verifyRecoveryCode({ code, trustDevice })onNestAuthClient— redeem an MFA recovery (backup) code to complete a sign-in (MFA stays enabled). Persists tokens.
2.9.2 #
- No Flutter SDK changes — lockstep release with the backend MFA config fix (
@ackplus/nest-auth2.9.2).
2.9.1 #
- No Flutter SDK changes — lockstep release with the backend MFA hardening patch (
@ackplus/nest-auth2.9.1).
2.9.0 #
- No behavior change:
refresh()already leaves stored tokens intact when it fails (a502or aSocketExceptionthrows without clearing tokens; only a definitive server rejection ends a session). Added a regression test that pins this so it can never regress. Released in lockstep with the JS/TS SDKs, which received the corresponding fix.
2.0.0 #
Initial release of the Flutter / Dart SDK for @ackplus/nest-auth.
NestAuthClient— header-token mode HTTP client with transparent 401 refresh-and-retry.- Full auth surface: signup, email/password login, passwordless, social login, logout, refresh; password reset, change password; email & phone verification; switch tenant; MFA challenge/verify/status.
- Token storage:
TokenStorageinterface withInMemoryTokenStorageandSecureTokenStorage(backed byflutter_secure_storage). NestAuthController— aChangeNotifierfor reactive UIs.- Typed models (
AuthResponse,SessionUser,TokenPair) andNestAuthException.