ping-identity
    Preparing search index...

    Type Alias PollingCollector

    PollingCollector: BaseCollector & {
        challenge: string;
        pollChallengeStatus: boolean;
        pollInterval: number;
        pollRetries: number;
        type: "POLLING";
    }

    Async polling collector — waits for out-of-band user action (push approval, QR scan, email verification) to complete on another device or channel.

    Type Declaration

    • challenge: string

      Challenge identifier used to construct the polling endpoint URL when pollChallengeStatus is true.

    • pollChallengeStatus: boolean

      Whether this collector polls a server challenge-status endpoint rather than simple retry counting.

    • pollInterval: number

      Polling interval in milliseconds between each attempt.

    • pollRetries: number

      Maximum number of polling attempts before timing out.

    • type: "POLLING"

    Driven by DaVinciClient.pollStatus, not by form submission — pollStatus resolves the active PollingCollector on the current ContinueNode and streams PollingStatus events until a terminal status is reached.

    pollInterval/pollRetries are normalized to number across platforms — iOS's native collector exposes them as Int, Android's as String; the bridge coerces Android's values before serialising.