2 writes to NotBefore
System.IdentityModel (2)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
276
conditions.
NotBefore
= tokenLifetime.Created.Value;
1925
conditions.
NotBefore
= DateTime.ParseExact(
8 references to NotBefore
System.IdentityModel (8)
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
247
return SecurityUtils.IsCurrentlyTimeEffective(token.Assertion.Conditions.
NotBefore
, token.Assertion.Conditions.NotOnOrAfter, this.maxClockSkew);
System\IdentityModel\Tokens\SamlSecurityToken.cs (1)
71
return this.assertion.Conditions.
NotBefore
;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (6)
893
if (null != conditions.
NotBefore
894
&& DateTimeUtil.Add(now, Configuration.MaxClockSkew) < conditions.
NotBefore
)
897
new SecurityTokenNotYetValidException(SR.GetString(SR.ID4222, conditions.
NotBefore
, now)));
1983
if (conditions.
NotBefore
!= DateTimeUtil.GetMinValue(DateTimeKind.Utc) &&
1984
conditions.
NotBefore
!= WCFMinValue)
1989
conditions.
NotBefore
.ToUniversalTime().ToString(DateTimeFormats.Generated, DateTimeFormatInfo.InvariantInfo));