如何使用JS或C#从ExpireTimeSpan属性中检索剩余时间?
services.ConfigureApplicationCookie(options =>
{
options.SlidingExpiration = true;
options.ExpireTimeSpan = TimeSpan.FromMinutes(60);
options.Cookie.Name = "auth";
});