I need a Net Core version of this in Nodejs:
CookieFactory.create("some_my_token", responseBody.some_my_token, cookieOptions).sign(cookieSecret).seriali