- Introduced .vscode/settings.json and .vscode/launch.json for IDE configuration.
- Updated DebugAuthInterface and ArcaneAuthenticationService to return const Result.ok() for consistency.
- Added ArcaneTheme class for theme management.
- Updated pubspec.yaml to change result_monad dependency version.
- Modified authentication_service_test to return const Result.ok() in mock setups.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
- Added `ValueNotifier`s to both the `ArcaneAuthenticationService` and
`ArcaneFeatureFlags`. This enables the possibility of listening for changes to
either service.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
- Removed flutter_secure_storage dependency as it was unused
- BREAKING: several methods were moved from the ArcaneAuthInterface base class into their own mixins
Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
- Fixed an issue with the `ArcaneAuthenticationService` where an exception would
be thrown when attempting to access an authentication token while no
`ArcaneAuthInterface` was registered.
Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
Breaking changes:
- Updated ArcaneAuthInterface to make the `resendVerificationCode`, `confirmSignup`, and `resetPassword` methods more versatile
Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
- Added the ability to use a generic type for the login method in ArcaneAuthenticationService
- Added the ability to reset the ArcaneAuthenticationService, which will unregister the current interface and clear the authentication state
- Removed unused testing tooling (e.g., `@visibleForTesting`) from the codebase
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>