10 references to Expires
System.IdentityModel (9)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
2584
if (lifetime.
Expires
!= null)
2586
writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Expires, WSUtilityConstants.NamespaceURI, lifetime.
Expires
.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture));
System\IdentityModel\SecurityTokenService.cs (2)
478
if (requestLifetime.
Expires
.HasValue)
480
expires = requestLifetime.
Expires
.Value;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
1018
conditions.NotOnOrAfter = tokenLifetime.
Expires
;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
279
if (tokenLifetime.
Expires
!= null)
281
conditions.NotOnOrAfter = tokenLifetime.
Expires
.Value;
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
262
DateTime validTo = (tokenDescriptor.Lifetime.
Expires
.HasValue) ? (DateTime)tokenDescriptor.Lifetime.
Expires
: DateTime.UtcNow + SessionSecurityTokenHandler.DefaultTokenLifetime;
System.ServiceModel (1)
System\ServiceModel\Security\WSTrustChannel.cs (1)
498
expires = response.Lifetime.
Expires
;