WebAuthn ブラウザーエラーの詳細をサーバーに送信します。
これは、ブラウザーの WebAuthn API でエラーが発生した場合に使用されます。
Example
コピー
import MfaWebAuthnRoamingEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';const webauthnEnrollment = new MfaWebAuthnRoamingEnrollment();await webauthnEnrollment.showError({ error: { name: 'NotAllowedError', message: 'The operation either timed out or was not allowed.', },});
ユーザーが別の MFA(多要素認証)手段を試せるようにします。
これは「Try Another Method」ボタンに対応します。
Example
コピー
import MfaWebAuthnRoamingEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';const webauthnEnrollment = new MfaWebAuthnRoamingEnrollment();await webauthnEnrollment.tryAnotherMethod();