Class MSLiveCookieHelper

java.lang.Object
com.soulfiremc.server.account.MSLiveCookieHelper

public final class MSLiveCookieHelper extends Object

Utility for parsing various cookie input formats into a Cookie header string suitable for Microsoft Live authentication.

Supports three cookie input formats:

  • Netscape cookie jar (tab-separated, e.g. from curl or browser export)
  • Cookie Editor JSON (array of objects with domain/name/value)
  • Raw cookie header string (semicolon-separated name=value pairs)
  • Method Details

    • parseCookieHeader

      public static String parseCookieHeader(String cookieInput)
      Parses a cookie input string (in any supported format) into a Cookie header value.