code: public static AuthenticationCookie fromDelimitedString(final String delimitedString) {
      Preconditions.checkArgument(delimitedString != null && delimitedString.length() > 0,
                                  "delimitedString cannot be empty");
  
      final String[] cookieElements = delimitedString.split(DELIMITER);
      Preconditions.checkArgument(cookieElements.length == 4, "delimitedString should contain exactly 4 elements");
  
      return new AuthenticationCookie(
        cookieElements[0],
        DateTime.parse(cookieElements[1], DATE_TIME_FORMATTER),
        cookieElements[2],
        cookieElements[3]);
    }
docs: Converted the given delimited string into an Authentication cookie.
  Expected a string in the format username;creationTime;appId;authenticatorId