persistedUser- This will be an object with the fields
expires,(number) to match the login endpoint created in bubble. Whenever a log in is successful the app will store the corresponding response values into this object on the device.
authUser- An object with the fields
expires. This will just be a copy of the
persistedUserdevice variable. This variable is used so that instead of always going to the device storage to retrieve the token and user id we can simply reference this object.
currentUser- This is an object that stores the retrieved User from our backend database. In this tutorial we only have the fields
idretrieved during the log in.
password, bound to the input fields.
password, bound to the input fields