4 writes to MaxAge
HttpsPolicySample (1)
Startup.cs (1)
22
options.
MaxAge
= TimeSpan.FromDays(30);
Microsoft.AspNetCore.HttpsPolicy.Tests (3)
HstsMiddlewareTests.cs (2)
94
options.
MaxAge
= TimeSpan.FromSeconds(maxAge);
140
options.
MaxAge
= TimeSpan.FromSeconds(maxAge);
HttpsPolicyTests.cs (1)
43
options.
MaxAge
= TimeSpan.FromSeconds(maxAge);
1 reference to MaxAge
Microsoft.AspNetCore.HttpsPolicy (1)
HstsMiddleware.cs (1)
40
var maxAge = Convert.ToInt64(Math.Floor(hstsOptions.
MaxAge
.TotalSeconds))