import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();await mfaWebAuthnRoamingChallenge.verify();
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();mfaWebAuthnRoamingChallenge.changeLanguage({ language: 'fr',});
このメソッドは、navigator.credentials.get() の実行中に発生した WebAuthn API エラーを報告します。
Example
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();await mfaWebAuthnRoamingChallenge.reportWebAuthnError({ error: { name: 'NotAllowedError', message: 'The operation was not allowed.' },});
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();await mfaWebAuthnRoamingChallenge.tryAnotherMethod();
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();await mfaWebAuthnRoamingChallenge.verify();