For context, I am building a mobile app using Swift.
I am using SyncUser.current in my viewDidLoad method to evaluate whether to show the user the login screen on launch the primary view of my app (i.e. requires a user to be authenticated).
I see that there is a system realm titled “_password.” One of the properties of this realm is “expires.” With this info, I have a few questions:
Does the “expires” property define how long SyncUser.current lasts?
What will happen when the expire date occurs?
Is there a way to extend this expire date? I don’t want users to ever have to login outside of the first time they sign up.