HstsOptions.MaxAge Property

Namespace:
Weavy.Web.Owin.HttpsPolicy
Assembly:
Weavy.Web.dll

Sets the max-age parameter of the Strict-Transport-Security header.

Max-age is required; defaults to 30 days. See: https://tools.ietf.org/html/rfc6797#section-6.1.1

public TimeSpan MaxAge { get; set; }

Property value

System.TimeSpan