Anonymous User flow view model
Description
This merge request adds support for anonymous user login in the LoginViewModel class.
Technical details
- Created a new function
authenticateAnonymousUser()in theLoginViewModelto handle anonymous user login. - Implemented the logic to authenticate and authorize anonymous users.
- Added necessary API calls and data handling for anonymous user login.
Tests
- Unit tests for the new
testOnSuccessReturnLogInStateTrue(),testOnFailureReturnLogInStateFalseWithError(),testOnLoadingReturnLogInStateFalse()function have been added to ensure its correctness.
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/1456