- 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>
- Lowered minimum required collection dependency version to prevent forcing
users into the latest Flutter release
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>
- Updated logging feature to indicate the feature which was enabled or disabled within the log message, instead of only in the metadata
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
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>