Implement Sign-in flow using TCA
Description
Add support for the Sign-in to get access to refresh and authentication tokens:
- Rename authentication flow to account for both sign-up and sign-in;
- Update User model to support tokens;
- Clean up files and refactor classes;
- Replace the root screen with a Sign-in flow.
closes #(45)
Type of change
-
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
The feature has been tested using a mocked server. Sign-in-success
Checklist:
-
My code follows the style guidelines of this project -
I have performed a self-review of my own code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation -
My changes generate no new warnings -
I have added tests that prove my fix is effective or that my feature works -
New and existing unit tests pass locally with my changes