I want implement a particular user when they tap on Delete Account
and there while deleting I am getting 3 options so which one is good
- deleteIdentity
- deleteSession
- deleteSessions
TL;DR
Summary: The developer wants to delete a user account in auth and is unsure which option to choose: deleteIdentity, deleteSession, or deleteSessions.
Solution:
- deleteIdentity: This option deletes the user's identity, logs them out, and permanently removes their account.
- deleteSession: This option deletes the user's current session, logging them out, but their account remains active.
- deleteSessions: This option deletes all sessions for the user, logging them out from all devices, but their account remains active.
Based on the requirement of deleting the entire account, the recommended option would be to use deleteIdentity.