2 writes to Lifetime
System.IdentityModel (2)
System\IdentityModel\SecurityTokenService.cs (2)
738
_tokenDescriptor.
Lifetime
= GetTokenLifetime(request.Lifetime);
865
_tokenDescriptor.
Lifetime
= GetTokenLifetime(request == null ? null : request.Lifetime);
6 references to Lifetime
System.IdentityModel (6)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
268
assertion.Conditions = this.CreateConditions(tokenDescriptor.
Lifetime
, tokenDescriptor.AppliesToAddress, tokenDescriptor);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
138
SamlConditions conditions = CreateConditions(tokenDescriptor.
Lifetime
, tokenDescriptor.AppliesToAddress, tokenDescriptor);
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (4)
261
DateTime validFrom = (tokenDescriptor.
Lifetime
.Created.HasValue) ? (DateTime)tokenDescriptor.
Lifetime
.Created : DateTime.UtcNow;
262
DateTime validTo = (tokenDescriptor.
Lifetime
.Expires.HasValue) ? (DateTime)tokenDescriptor.
Lifetime
.Expires : DateTime.UtcNow + SessionSecurityTokenHandler.DefaultTokenLifetime;