ping-identity
    Preparing search index...

    Function createPushClient

    • Creates a reusable Push MFA client instance.

      Resolves the provided PushConfig into a flat PushClientConfig wire format, calls initialize() on the native module, and returns a PushClient bound to the returned opaque client handle id.

      Parameters

      • config: PushConfig = {}

        Optional runtime push configuration.

      Returns Promise<PushClient>

      A promise resolving to a PushClient bound to the resolved configuration.

      Error when the native Push module is unavailable.

      import { createPushClient } from '@ping-identity/rn-push';

      const client = await createPushClient({ timeoutMs: 20000 });
      const credential = await client.addCredentialFromUri('pushauth://...');