IGPAPI
    Preparing search index...

    Function TwoFactorBloksPollTrustedNotification

    • Polls has_been_allowed.async once to check if the trusted notification has been approved on another device.

      Returns { status: 'pending' } if still waiting. The caller should re-execute every ~7.5 s (matching the real app's interval) until approved or denied is returned.

      Returns Effect<
          | {
              profile?: undefined;
              status: "denied";
              trustedDeviceNonce?: undefined;
          }
          | {
              profile: LoginResponse;
              status: "approved";
              trustedDeviceNonce: string
              | undefined;
          }
          | {
              profile?: undefined;
              status: "pending";
              trustedDeviceNonce?: undefined;
          },
          IgApiError
          | RequestError
          | ParseError
          | TransportError,

              | MobileSession
              | MobileDevice
              | BloksHttp
              | MobileApplication
              | SessionHeaderParser,
      >