20 references to Generated
System.IdentityModel (20)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
2581
writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Created, WSUtilityConstants.NamespaceURI, lifetime.Created.Value.ToString(DateTimeFormats.
Generated
, CultureInfo.InvariantCulture));
2586
writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Expires, WSUtilityConstants.NamespaceURI, lifetime.Expires.Value.ToString(DateTimeFormats.
Generated
, CultureInfo.InvariantCulture));
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (1)
98
wi.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.
Generated
), ClaimValueTypes.DateTime));
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (1)
171
identity.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.
Generated
), ClaimValueTypes.DateTime));
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (8)
1985
subject.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(statement.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.
Generated
), ClaimValueTypes.DateTime, issuer));
2877
writer.WriteAttributeString(Saml2Constants.Attributes.IssueInstant, XmlConvert.ToString(data.IssueInstant.ToUniversalTime(), DateTimeFormats.
Generated
));
3794
writer.WriteAttributeString(Saml2Constants.Attributes.AuthnInstant, XmlConvert.ToString(data.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.
Generated
));
3805
writer.WriteAttributeString(Saml2Constants.Attributes.SessionNotOnOrAfter, XmlConvert.ToString(data.SessionNotOnOrAfter.Value.ToUniversalTime(), DateTimeFormats.
Generated
));
4169
writer.WriteAttributeString(Saml2Constants.Attributes.NotBefore, XmlConvert.ToString(data.NotBefore.Value.ToUniversalTime(), DateTimeFormats.
Generated
));
4175
writer.WriteAttributeString(Saml2Constants.Attributes.NotOnOrAfter, XmlConvert.ToString(data.NotOnOrAfter.Value.ToUniversalTime(), DateTimeFormats.
Generated
));
5405
writer.WriteAttributeString(Saml2Constants.Attributes.NotBefore, XmlConvert.ToString(data.NotBefore.Value.ToUniversalTime(), DateTimeFormats.
Generated
));
5411
writer.WriteAttributeString(Saml2Constants.Attributes.NotOnOrAfter, XmlConvert.ToString(data.NotOnOrAfter.Value.ToUniversalTime(), DateTimeFormats.
Generated
));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (5)
1407
subject.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(samlStatement.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.
Generated
), ClaimValueTypes.DateTime, issuer));
1883
writer.WriteAttributeString(SamlConstants.AttributeNames.IssueInstant, null, assertion.IssueInstant.ToUniversalTime().ToString(DateTimeFormats.
Generated
, CultureInfo.InvariantCulture));
1989
conditions.NotBefore.ToUniversalTime().ToString(DateTimeFormats.
Generated
, DateTimeFormatInfo.InvariantInfo));
1998
conditions.NotOnOrAfter.ToUniversalTime().ToString(DateTimeFormats.
Generated
, DateTimeFormatInfo.InvariantInfo));
2943
XmlConvert.ToString(statement.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.
Generated
));
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (1)
250
new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(time.ToUniversalTime(), DateTimeFormats.
Generated
), ClaimValueTypes.DateTime));
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
104
windowsIdentity.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.
Generated
), ClaimValueTypes.DateTime));
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
586
identity.AddClaim(new Claim(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(DateTime.UtcNow, DateTimeFormats.
Generated
), ClaimValueTypes.DateTime));