OptionalabortSignal?: AbortSignalAbort signal
OptionalinvalidPasswordCallback?: () => MaybePromise<void>Function that will be called after the server has rejected the password.
Note that in case password is not a function, this callback will never be called, and an error will be thrown instead.
OptionalonQrScanned?: () => voidFunction that will be called when the user has scanned the QR code
(i.e. when updateLoginToken is received), and the library is finalizing the auth
Function that will be called whenever the login URL is changed.
The app is expected to display url as a QR code to the user
Optionalpassword?: MaybeDynamic<string>Password for 2FA
Execute the QR login flow.
This method will resolve once the authorization is complete, returning the authorized user.