Log the user in using the input code or link code
{status: "OK", user, createdUser: bool} if succesful
Create and send a code to the user for passwordless auth
{status: "OK", deviceId, preAuthSessionId, flowType} If successful
Check if a user with the given email exists
{status: "OK", doesExist: boolean}
Check if a user with the given phone number exists
{status: "OK", doesExist: boolean}
Reads and returns the link code from the current URL
The hash (#) property of the current URL
Get information about the current login attempt from storage
{deviceId, preAuthSessionId, flowType} if present, returns undefined otherwise
Reads and returns the pre auth session id from the current URL
The "preAuthSessionId" query parameter from the current URL
Resend the code to the user
{status: "OK"} if succesful
Set information about the current login attempt to storage
Generated using TypeDoc
Clear any information about login attempts from storage