24 writes to ExpireTimeSpan
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
749options.ExpireTimeSpan = TimeSpan.FromDays(3);
CookieSample (1)
Program.cs (1)
15options.ExpireTimeSpan = TimeSpan.FromSeconds(20);
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationOptions.cs (1)
30ExpireTimeSpan = TimeSpan.FromDays(14);
Microsoft.AspNetCore.Authentication.Test (16)
CookieTests.cs (16)
442o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 472o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 506o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 535o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 564o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 601o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 675o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 723o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 768o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 824o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 883o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 933o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 984o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1022o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1059o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1105o.ExpireTimeSpan = TimeSpan.FromMinutes(10);
Microsoft.AspNetCore.Identity (4)
IdentityCookiesBuilderExtensions.cs (2)
70o.ExpireTimeSpan = TimeSpan.FromMinutes(5); 107o.ExpireTimeSpan = TimeSpan.FromMinutes(5);
IdentityServiceCollectionExtensions.cs (2)
70o.ExpireTimeSpan = TimeSpan.FromMinutes(5); 87o.ExpireTimeSpan = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
77options.ExpireTimeSpan = TimeSpan.FromMinutes(10);
4 references to ExpireTimeSpan
CookieSample (1)
Program.cs (1)
21context.ShouldRenew = context.ElapsedTime > (context.Options.ExpireTimeSpan / 4);
Microsoft.AspNetCore.Authentication.Cookies (3)
CookieAuthenticationHandler.cs (2)
324signInContext.Properties.ExpiresUtc = issuedUtc.Add(Options.ExpireTimeSpan); 331var expiresUtc = signInContext.Properties.ExpiresUtc ?? issuedUtc.Add(Options.ExpireTimeSpan);
CookieAuthenticationOptions.cs (1)
48/// <item><description><see cref="CookieBuilder.Expiration"/> is currently ignored. Use <see cref="ExpireTimeSpan"/> to control lifetime of cookie authentication.</description></item>