Optionalabortwhen an error happens during auth this function will be called with the error.
if this returns true the auth operation will stop.
Optionalpasswordoptional string or callback that should return the 2FA password if present.
the password hint will be sent in the hint param
Optionalqra qrCode token for login through qrCode.
this would need a QR code that you should scan with another app to login with.
an AbortSignal to cancel the QR login flow (e.g. the user closed the page).
when aborted, the flow stops polling and rejects with an
AbortError.