You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Associates or adds a new OOB authenticator for multi-factor authentication (MFA).
1448
+
* Confidential clients (Regular Web Apps) <strong>must</strong> have a client secret configured on this {@code AuthAPI} instance.
1449
+
* <pre>
1450
+
* {@code
1451
+
* try {
1452
+
* CreatedOobResponse result = authAPI.addOobAuthenticator("the-mfa-token", Arrays.asList("sms", "email"), "phone-number", "email-address")
1453
+
* .execute()
1454
+
* .getBody();
1455
+
* } catch (Auth0Exception e) {
1456
+
* //Something happened
1457
+
* }
1458
+
* }
1459
+
* </pre>
1460
+
*
1461
+
* @param mfaToken The token received from mfa_required error. Must not be null.
1462
+
* @param oobChannels The type of OOB channels supported by the client. Must not be null.
1463
+
* @param phoneNumber The phone number for "sms" or "voice" channels. May be null if not using "sms" or "voice".
1416
1464
* @param emailAddress The email address for "email" channel. May be null if not using "email".
1417
1465
* @return a Request to execute.
1418
1466
* @see <a href="https://auth0.com/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa/enroll-challenge-sms-voice-authenticators#enroll-with-sms-or-voice">Enroll with SMS or voice</a>
0 commit comments