videosphere
    Preparing search index...
    • Enables TOTP for a user by persisting an encrypted secret.

      Parameters

      • userId: string

        Auth user id to update.

      • encryptedSecret: string

        AES-256-GCM encrypted TOTP secret.

      Returns Promise<void>

      Resolves when the profile update completes.

      Error with code 404 when no matching profile exists.