Skip to content

Commit

Permalink
XML comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-jitbit committed Jan 27, 2023
1 parent 7c8b63e commit 574cd39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion AspNetSaml/Saml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public Response(byte[] certificateBytes)
_certificate = new X509Certificate2(certificateBytes);
}

/// <summary>
/// Parse SAML response XML (in case was it not passed in constructor)
/// </summary>
public void LoadXml(string xml)
{
_xmlDoc = new XmlDocument();
Expand All @@ -64,7 +67,7 @@ public void LoadXmlFromBase64(string response)
}

/// <summary>
/// Check the validity of SAML response (validate signature etc)
/// Checks the validity of SAML response (validate signature, check expiration date etc)
/// </summary>
/// <returns></returns>
public bool IsValid()
Expand Down

0 comments on commit 574cd39

Please sign in to comment.