Function: generateRecoveryCodes()
generateRecoveryCodes():
string[]
Defined in: src/auth/shared.ts:380
Generates a fixed batch of plaintext MFA recovery/backup codes (see RecoveryCodesSecret). Each code is
shown to the user exactly once, at creation time (see BaseSecretRoute.validateRecoveryCodesCreate()) -
only their hashes are ever persisted.
Returns
string[]