Class SamlMetadataOptions
- Namespace
- Fdyay.IdentityServer.Saml.Configuration
- Assembly
- Fdyay.IdentityServer.Saml.dll
How long a partner may keep this identity provider's metadata. Duende's SamlMetadataOptions.
public sealed class SamlMetadataOptions
- Inheritance
-
SamlMetadataOptions
- Inherited Members
Remarks
Written on the published EntityDescriptor as cacheDuration and validUntil (SAML Metadata ยง2.3.1): how
often a partner should fetch it again, and the moment it stops being usable at all. The signing key published there
rotates with this server's key material, so a partner that refreshes within CacheDuration learns a new key
before it signs. As of 0.144.0; until then the metadata said neither.
Properties
CacheDuration
How long a partner may cache the metadata before fetching it again. Defaults to 12 hours, as Duende's does.
public TimeSpan CacheDuration { get; set; }
Property Value
ExpiryDuration
How long after it is served the metadata expires. Defaults to 5 days, as Duende's does.
public TimeSpan ExpiryDuration { get; set; }