Abstract
Utility for handling recovery code nodes.
Example:
// Determine if step is Display Recovery Codes stepconst isDisplayRecoveryCodesStep = FRRecoveryCodes.isDisplayStep(step);if (isDisplayRecoveryCodesStep) { const recoveryCodes = FRRecoveryCodes.getCodes(step); // Do the UI needful} Copy
// Determine if step is Display Recovery Codes stepconst isDisplayRecoveryCodesStep = FRRecoveryCodes.isDisplayStep(step);if (isDisplayRecoveryCodesStep) { const recoveryCodes = FRRecoveryCodes.getCodes(step); // Do the UI needful}
Static
Retrieves the recovery codes by parsing the JavaScript message text in callback.
The step to evaluate
Recovery Code values in array
Determines if the given step is a Display Recovery Codes step.
Is this step a Display Recovery Codes step
Private
Gets the recovery codes step.
gets the Display Recovery Codes' callback
Utility for handling recovery code nodes.
Example: