ping-identity
    Preparing search index...

    Function resolveExecutionMode

    Headless collector normalisation and submit-planning helpers.

    • Resolves the execution mode for a collector type string.

      Parameters

      • type: string

        Collector type string from the native bridge.

      Returns DaVinciExecutionMode

      Execution mode classification.

      Verified against the DaVinci 2.0.1 iOS/Android sources — no auto_capable mode exists. integration_required is reserved for plugin packages (e.g. rn-external-idp) and is returned only for collector types registered in integrationRequiredCollectorTypes.

      resolveExecutionMode('TEXT');          // 'manual'
      resolveExecutionMode('LABEL'); // 'output_only'
      resolveExecutionMode('SUBMIT_BUTTON'); // 'immediate'
      resolveExecutionMode('UNKNOWN_TYPE'); // 'unsupported'