¶ Android auth
This module handles the authentication process in the app. The sign in page should have buttons that trigger activities defined in this module.
- Handles sign in results
- Saves user information to display in App
- Uses the User.kt format in CommonMain
- Wraps the Google Sign in process in an activity
- Starts the authentication process
- Defines the sub sign in activity
- Handle credentials during sign in process
- Handle Google Sign In using Firebase
- Process sign out
- Define data classes to standardize requests and reponses
- Allows different auth methods to return similar data
- Compose and send log-in POST request
- Catch HttpResponse
- Parse response into Success or failure
- Collects email and pwd from text fields
- Initiates email log in (calls repo)
- Sets log in status based on repo response
- Older implementation of Google Sign in.
- Older placeholder page for sign in.