SDKs / typescript / partner-2fa
generateRecoveryCodes()Rotates and returns recovery codes for the identity.
generateRecoveryCodes(externalUserId: string): Promise<RecoveryCodesResult>| Parameter | Type | Required | Description |
|---|---|---|---|
externalUserId | string | Required |
Promise<RecoveryCodesResult>
recoveryCodes — View API Reference →