2 writes to NotOnOrAfter
System.IdentityModel (2)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
281
conditions.
NotOnOrAfter
= tokenLifetime.Expires.Value;
1932
conditions.
NotOnOrAfter
= DateTime.ParseExact(
8 references to NotOnOrAfter
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)
84
return this.assertion.Conditions.
NotOnOrAfter
;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (6)
900
if (null != conditions.
NotOnOrAfter
901
&& DateTimeUtil.Add(now, Configuration.MaxClockSkew.Negate()) >= conditions.
NotOnOrAfter
)
904
new SecurityTokenExpiredException(SR.GetString(SR.ID4223, conditions.
NotOnOrAfter
, now)));
1992
if (conditions.
NotOnOrAfter
!= DateTimeUtil.GetMaxValue(DateTimeKind.Utc) &&
1993
conditions.
NotOnOrAfter
!= WCFMaxValue)
1998
conditions.
NotOnOrAfter
.ToUniversalTime().ToString(DateTimeFormats.Generated, DateTimeFormatInfo.InvariantInfo));