9 references to ToUniversalTime
System.IdentityModel (9)
System\IdentityModel\BoundedCache.cs (1)
378
_expirationTime = DateTimeUtil.
ToUniversalTime
(expirationTime);
System\IdentityModel\DateTimeUtil.cs (1)
68
return
ToUniversalTime
(value.Value);
System\IdentityModel\SecurityTokenService.cs (2)
499
if (DateTimeUtil.Add(DateTimeUtil.
ToUniversalTime
(expires), _securityTokenServiceConfiguration.MaxClockSkew) < utcNow)
505
if (DateTimeUtil.
ToUniversalTime
(created) > DateTimeUtil.Add(utcNow + TimeSpan.FromDays(1), _securityTokenServiceConfiguration.MaxClockSkew))
System\IdentityModel\Tokens\Saml2Assertion.cs (1)
138
set { this.issueInstant = DateTimeUtil.
ToUniversalTime
(value); }
System\IdentityModel\Tokens\Saml2AuthenticationStatement.cs (2)
44
this.authnInstant = DateTimeUtil.
ToUniversalTime
(authenticationInstant);
75
set { this.authnInstant = DateTimeUtil.
ToUniversalTime
(value); }
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
244
validFromEffective = DateTimeUtil.
ToUniversalTime
(validFrom.Value);
253
validToEffective = DateTimeUtil.
ToUniversalTime
(validTo.Value);