2 writes to NotBefore
System.IdentityModel (2)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
1017
conditions.
NotBefore
= tokenLifetime.Created;
4037
conditions.
NotBefore
= XmlConvert.ToDateTime(value, DateTimeFormats.Accepted);
7 references to NotBefore
System.IdentityModel (7)
System\IdentityModel\Tokens\Saml2SecurityToken.cs (2)
92
if (null != this.assertion.Conditions && null != this.assertion.Conditions.
NotBefore
)
94
return this.assertion.Conditions.
NotBefore
.Value;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (5)
1561
if (conditions.
NotBefore
!= null
1562
&& DateTimeUtil.Add(now, Configuration.MaxClockSkew) < conditions.
NotBefore
.Value)
1564
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenNotYetValidException(SR.GetString(SR.ID4147, conditions.
NotBefore
.Value, now)));
4167
if (null != data.
NotBefore
)
4169
writer.WriteAttributeString(Saml2Constants.Attributes.NotBefore, XmlConvert.ToString(data.
NotBefore
.Value.ToUniversalTime(), DateTimeFormats.Generated));