Emitted when two-factor authentication is required after login.
The methods array indicates which verification methods are available (e.g., ['email_otp']). Use verifyTfa() with the user-provided code to complete authentication.
methods
['email_otp']
verifyTfa()
Server-issued challenge token for the TFA session
Seconds until the challenge expires
Available TFA methods (e.g., ['email_otp'])
Partial user info for display during verification
Emitted when two-factor authentication is required after login.
The
methodsarray indicates which verification methods are available (e.g.,['email_otp']). UseverifyTfa()with the user-provided code to complete authentication.