Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
export interface MfaRecoveryCodeChallengeNewCodeMembers extends BaseMembers { /** * 'mfa-recovery-code-challenge-new-code' 画面の特定のプロパティとデータへのアクセス。 * 表示されるリカバリーコードである `textCode` を含みます。 * @type {ScreenMembersOnMfaRecoveryCodeChallengeNewCode} */ screen: ScreenMembersOnMfaRecoveryCodeChallengeNewCode; /** * ユーザーが新しいリカバリーコードを保存したことを確認し、認証フローを続行します。 * このメソッドは、ユーザーが表示されたリカバリーコードを安全に保存したことを示した後に呼び出してください。 * Auth0 サーバーに確認を送信し、次のステップに進みます。 * * @param {ContinueOptions} [payload] - リクエストに含めるオプションのカスタムデータ。 * @returns {Promise<void>} 確認が正常に送信されると解決される Promise。 * @throws {Error} 送信に失敗した場合(例:ネットワークエラー、無効な state)にエラーをスローします。 * * @example * ```typescript * import MfaRecoveryCodeChallengeNewCode from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code'; * * const screenManager = new MfaRecoveryCodeChallengeNewCode(); * * // ユーザーがコードを保存したことを確認するチェックボックスをオンにした場合 * try { * await screenManager.continue(); * // 成功時に次の画面にリダイレクト * } catch (error) { * console.error("Failed to confirm recovery code saved:", error); * // エラーを処理する(例:screenManager.transaction.errors からメッセージを表示) * } * ``` */ continue(payload?: ContinueOptions): Promise<void>; }
mfa-recovery-code-challenge-new-code
textCode
import MfaRecoveryCodeChallengeNewCode from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code'; const screenManager = new MfaRecoveryCodeChallengeNewCode(); // ユーザーがコードを保存したことを確認するチェックボックスをオンにしていると仮定します try { await screenManager.continue(); // 成功すると次の画面にリダイレクトされます } catch (error) { console.error("Failed to confirm recovery code saved:", error); // エラーを処理します。例: screenManager.transaction.errors のメッセージを表示します }
Show パラメーター