We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41be442 commit 04f1f51Copy full SHA for 04f1f51
src/ITfoxtec.Identity.Saml2/Request/Saml2AuthnResponse.cs
@@ -43,7 +43,7 @@ public class Saml2AuthnResponse : Saml2Response
43
/// <summary>
44
/// Gets the first instant in time at which this security token is valid.
45
/// </summary>
46
- public DateTimeOffset SecurityTokenValidFrom { get { return Saml2SecurityToken.ValidFrom; } }
+ public DateTimeOffset SecurityTokenValidFrom { get { return Saml2SecurityToken.ValidFrom > DateTime.MinValue ? Saml2SecurityToken.ValidFrom : DateTime.UtcNow; } }
47
48
49
/// Gets the last instant in time at which this security token is valid.
0 commit comments