sendOneTimeCode
method handles this.createOrRestoreSession
method will initiate a session as long as the code is valid.createPasskey
method will validate it and create a passkey.session_created
or session_restored
if the session has been created or restored successfully.(attestation, challenge, displayName)
once the creation flow has been successful.code_sent
if the code has been sent successfully.