Access to the specific properties and data of the 'mfa-webauthn-enrollment-success' screen.
Includes the nickname
of the enrolled authenticator and its webauthnType
.
Allows the user to continue the authentication flow after successful WebAuthn enrollment.
This method sends a POST request to the /u/mfa-webauthn-enrollment-success
endpoint with action: "default"
.
Optional
payload: Classes.WebAuthnEnrollSuccessContinueOptionsOptional. An object for CustomOptions
if any
additional parameters need to be sent with the request.
A promise that resolves when the continue action is successfully submitted. On success, the browser will typically be redirected to the next step in the flow.
// Assuming 'sdk' is an instance of MfaWebAuthnEnrollmentSuccess
try {
await sdk.continue();
// User is redirected to the next step.
} catch (error) {
console.error("Failed to continue after WebAuthn enrollment:", error);
// Handle error, potentially by inspecting sdk.transaction.errors if the page re-renders with an error.
}
MfaWebAuthnEnrollmentSuccessMembers