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