IGPAPI
    Preparing search index...

    Function AndroidTwoFactorPollTrustedNotification

    • Android trusted-notification 2FA poll. The login-home request context (which also routes it to the bootstrap host), and should_trust_device defaults to true (Android sends 1 on both the pending and the approved poll).

      Parameters

      Returns Effect<
          | {
              profile?: undefined;
              response: Bloks.BloksResponse;
              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;
              };
              response?: undefined;
              status: "approved";
              trustedDeviceNonce: string
              | undefined;
          }
          | {
              profile?: undefined;
              response?: undefined;
              status: "pending";
              trustedDeviceNonce?: undefined;
          },
          LoginBloksParseError
          | BloksHttpError,

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