Saml2AuthenticationStatement.SessionNotOnOrAfter Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the time instant at which the session between the principal identified by the subject and the SAML authority issuing this statement must be considered ended. [Saml2Core, 2.7.2]

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Nullable<DateTime> SessionNotOnOrAfter { get; set; }

Property Value

Type: System.Nullable<DateTime>

Returns a nullable DateTime that represents the session expiration time in UTC. A null value indicates that the attribute is not specified.

The SessionNotOnOrAfter attribute.

.NET Framework
Available since 4.5
Return to top