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: {
                  logged_in_user: {
                      full_name?: string
                      | null;
                      is_private?: boolean | null;
                      is_verified?: boolean | null;
                      pk: number;
                      pk_id: string;
                      profile_pic_url?: string | null;
                      username: string;
                  };
                  status?: string;
                  trusted_device_nonce?: string;
              };
              status: "approved";
              trustedDeviceNonce: string
              | undefined;
          }
          | {
              profile?: undefined;
              status: "pending";
              trustedDeviceNonce?: undefined;
          },
          BloksHttpError
          | LoginBloksParseError,

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