This repository has been archived by the owner on Feb 11, 2025. It is now read-only.
feat(login): dummy page for authentication #12
Labels
🏁 status: ready for work
Ready for work
💻 type: code
For repository code related to the project
🌟 goal: addition
To add a new feature
While we still work on the API side of things for authentication, we can go ahead with the frontend implementation so as to not block Noticeboard's development.
Authentication Flow:
api.mitblr.club/...
) which redirects them to Microsoft Authentication.Login Services (in
services/
):login()
- Redirect to API. Store the returned JWT to Shared Preferences.validate(String jwt)
- Validate the stored JWT against the API.Login Controllers (in
controllers/
):validateOnResume()
- Initiate validation on resuming app usage.validateOnStart()
- Initiate validation on the app's first launch without a stored session. This function should be utilized while showing the user a splash screen on start.logout()
- Flush the previously stored JWT. Note that our logins are persistent until the JWT expires, and this function exists only in case the user wants to terminate their session (through a UI button).Layout (Made in PowerPoint): (graphic design is my passion)
Terms: https://mitblr.club/terms
Privacy Policy: https://mitblr.club/privacy
The text was updated successfully, but these errors were encountered: