ping-identity
    Preparing search index...

    Function collectProtect

    • Runs PingOne Protect data collection for the active PROTECT collector in a DaVinci flow.

      Call this before daVinci.next({}) when the current node contains a PROTECT collector. The collected payload is set internally on the native collector so that next picks it up automatically.

      Parameters

      • daVinci: DaVinciInstance

        Active DaVinci instance.

      Returns Promise<void>

      Resolves with void on successful Protect data collection.

      ProtectError when collection fails or the collector is not found.

      import { collectProtect } from '@ping-identity/rn-protect';
      await collectProtect(daVinci);
      await daVinci.next({});