IGPAPI
    Preparing search index...

    Function applyBloksLoginInfo

    • Complete a session from a parsed Bloks login_response literal.

      Applies the embedded headers map from the literal through the session header parser (ig-set-* / x-ig-set-*: authorization, dsUserId, rur, www-claim, shbid, region hint, server-served password key), then parses login_response, ensures dsUserId is set from pk_id and moves the session into the authenticated zero-rating phase. Shared by Login and the approved trusted-notification poll.

      Parameters

      • loginInfo: Record<string, unknown>

      Returns Effect<LoginResponse, never, MobileSession | SessionHeaderParser>