2 writes to NotOnOrAfter
System.IdentityModel (2)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
1018
conditions.
NotOnOrAfter
= tokenLifetime.Expires;
4044
conditions.
NotOnOrAfter
= XmlConvert.ToDateTime(value, DateTimeFormats.Accepted);
9 references to NotOnOrAfter
System.IdentityModel (9)
System\IdentityModel\Tokens\Saml2SecurityToken.cs (2)
110
if (null != this.assertion.Conditions && null != this.assertion.Conditions.
NotOnOrAfter
)
112
return this.assertion.Conditions.
NotOnOrAfter
.Value;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (7)
1567
if (conditions.
NotOnOrAfter
!= null
1568
&& DateTimeUtil.Add(now, Configuration.MaxClockSkew.Negate()) >= conditions.
NotOnOrAfter
.Value)
1570
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenExpiredException(SR.GetString(SR.ID4148, conditions.
NotOnOrAfter
.Value, now)));
1721
if (assertion.Conditions != null && assertion.Conditions.
NotOnOrAfter
.HasValue)
1724
tokenExpiration = assertion.Conditions.
NotOnOrAfter
.Value;
4173
if (null != data.
NotOnOrAfter
)
4175
writer.WriteAttributeString(Saml2Constants.Attributes.NotOnOrAfter, XmlConvert.ToString(data.
NotOnOrAfter
.Value.ToUniversalTime(), DateTimeFormats.Generated));