List of possible methods for Multi-Factor Authentication (MFA). These methods are used to enhance the security of user accounts.const
MFA_METHODS:object
MOCK:Represents the use of a mock MFA method, primarily for testing purposes. It is only available in non-production environments (when initializing the SDK with anstring
='mock'
environment
parameter different from ENVIRONMENTS.PRODUCTION
).
This method simulates the MFA flow without requiring any actual authentication
PAIRED_DEVICE:It relies on the Qonto app installed on the user’s mobile device. A notification is sent to the app, which the user can approve or deny.string
='paired-device'
PASSKEY:Represents the use of a passkey for authentication. This will attempt to use the passkey stored in the browser so it requires the passkey to have been set up previously.string
='passkey'
SMS_OTP:Represents the use of a one-time password (OTP) sent via SMS for authentication.string
='sms-otp'