Class SamlConditions
- Namespace
- Fdyay.IdentityServer.Saml.Messages
- Assembly
- Fdyay.IdentityServer.Saml.dll
The Conditions element constraining assertion validity.
public sealed class SamlConditions
- Inheritance
-
SamlConditions
- Inherited Members
Properties
AudienceRestrictions
The Audience values the assertion is addressed to (SAML 2.0 core §2.5.1.4). Written as one AudienceRestriction; empty writes none.
public IReadOnlyList<string> AudienceRestrictions { get; init; }
Property Value
Remarks
When read, every Audience under the element is collected into this one list, whichever AudienceRestriction it sat in.
NotBefore
The earliest instant the assertion is valid; null when the element sets none (SAML 2.0 core §2.5.1).
public DateTimeOffset? NotBefore { get; init; }
Property Value
NotOnOrAfter
The instant from which the assertion is no longer valid; null when the element sets none (SAML 2.0 core §2.5.1).
public DateTimeOffset? NotOnOrAfter { get; init; }