working SAML

This commit is contained in:
Siwat Sirichai 2025-06-08 17:37:21 +07:00
parent 252dac3143
commit 1c909b7790
273 changed files with 260766 additions and 80 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/.vs

View file

@ -162,7 +162,7 @@
</site> </site>
<site name="Persons" id="2"> <site name="Persons" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool"> <application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\- Database\Persons\Persons" /> <virtualDirectory path="/" physicalPath="D:\Git\cudreg-saml2" />
</application> </application>
<bindings> <bindings>
<binding protocol="http" bindingInformation="*:15607:localhost" /> <binding protocol="http" bindingInformation="*:15607:localhost" />

View file

@ -0,0 +1,60 @@
Namespace SAML
Partial Public Class PostResponse
Inherits System.Web.UI.Page
Protected result As System.Web.UI.HtmlControls.HtmlGenericControl
Protected Sub Page_Load(sender As Object, e As EventArgs)
Dim samlResponse = Request.Form("SAMLResponse")
If String.IsNullOrEmpty(samlResponse) Then
result.InnerHtml = "<h2>No SAML Response found</h2>"
Return
End If
Dim cert As String = _
"-----BEGIN CERTIFICATE-----" & vbCrLf & _
"MIIE6DCCAtCgAwIBAgIQOQaY6KUdPItB52hpOsIBvjANBgkqhkiG9w0BAQsFADAw" & vbCrLf & _
"MS4wLAYDVQQDEyVBREZTIFNpZ25pbmcgLSBzc28uc2F0aXRtLmNodWxhLmFjLnRo" & vbCrLf & _
"MB4XDTI1MDQwNjEyNTQxNFoXDTI2MDQwNjEyNTQxNFowMDEuMCwGA1UEAxMlQURG" & vbCrLf & _
"UyBTaWduaW5nIC0gc3NvLnNhdGl0bS5jaHVsYS5hYy50aDCCAiIwDQYJKoZIhvcN" & vbCrLf & _
"AQEBBQADggIPADCCAgoCggIBAMlu6kjF9Ghsr9Z6+AIYRjHTx4OL6fROrCzq26/h" & vbCrLf & _
"YBfsrsL5QeJlWtYhRsbrW3wAFaQukNYal5LRJx8BXXlngIDIfoIEixT62BqFC2XO" & vbCrLf & _
"Ju7Rq+p1ei2WZb06V0It8ohmZVPqsDPzygjBblta27DBGQ8qQ4upGVTwOIBRisMj" & vbCrLf & _
"Ixxx90p6DeB2ZCiGOYCYMYPdFWwz8QCZv64WbWRw3WhRKla05nyiV352aaC53XL0" & vbCrLf & _
"ZZlRFV8jj6YiKsbKEzkxKpDVxEaH28NGVptBJyfkU5VOpqkmZZtqhSCrrIprfa+j" & vbCrLf & _
"Dl6De9Siq8/CUDoZhkhRoNUqmhaiu0ZbV3AF0iN+XLtmeP/GJREz5m3gOoAGH8Rl" & vbCrLf & _
"g5pyca6vmSnJHKnTsu8Elc4pVvO6jH1hqdBLVFa4uftqqBY2B/ZuUXj7764eHsMZ" & vbCrLf & _
"kHZC6SXOxAP2BPbRbslbd4CRErnuE5rgMRQAYQVWcrDvagUdvm2T1+wJN7GmwBg9" & vbCrLf & _
"GGhTA3r9howvIj2RFLxCZbpy2QlWKMb1zjyvtCHrM7g8/aGuvJfY5cmfww5aib4a" & vbCrLf & _
"QpJq+ZyCPZpW8iXZTnxVuyV57WFTOmCvy/9dfK/IQXEqG5FIikwaB2nyL/D5FXIP" & vbCrLf & _
"xH+OzLeLdLlKe2zpOJgx2p1M6rJ29AJRASKs+ikqlSV/i5t+1sw2qinFKJ8ZegsN" & vbCrLf & _
"HDgBAgMBAAEwDQYJKoZIhvcNAQELBQADggIBABzrTEbbzMHbq0mIV1w3TL6IVOv8" & vbCrLf & _
"BeXoYznSI7P/MhJwBXMbrYNNbpSkv5jWhtSAWQWrDrN0IUqvKwIYYRlRtgvma6Mk" & vbCrLf & _
"PFXRvzkVhpuqm/bp1HAH2yoJUXNuWInzdJeMnPaQymU/hSvSJ8f66pwlPrAYTSBk" & vbCrLf & _
"YIbcEdLJ3OmcnjOjj4W+s70J0s0HTnNQboAzjue3SmpsPVVetP+cwaoIASz2M6Fr" & vbCrLf & _
"wfqFaUUiSAxcUzfELOyN8d1dnRFQVkrNyayz0fHH2Kje5GnGLMNaZTKZ88nVbmoq" & vbCrLf & _
"Cbow7ofjEb74jNwWhmRhntuEE0I1W55LnU3Srjptjnfkd604W60DbqiWBKM6rTTb" & vbCrLf & _
"ilCJsW3umI26/eFZAfZIA2n7/FKDcDXFCJOM1UV+09pZ12p0TAaA3nyA2TbdI+PM" & vbCrLf & _
"GtvvEK2PU+tdU64uAlOOaldk52dIuR7kOVBk53Gf3K2wY2U/oovLrlXLHb8NJD49" & vbCrLf & _
"Po6XT3w6WL+okyr7FgdmAHTNpTnthXG0pyN4KUFEAK9HWXdGRWUgFX4yBOjmPN1N" & vbCrLf & _
"Vx7G3klMd+ccQUU80lxDKQUbjhcWLloWNlg6w2SKk4Ku7/f8HmPkqppvFow+ytWm" & vbCrLf & _
"0abcCjptoUrFR1BCM86CIDCo9bEWIyWv+SHr2AvlQ8D0Z8aQRr6M73NN1PNWruPf" & vbCrLf & _
"bpD2ekhB2vZ9R2ij" & vbCrLf & _
"-----END CERTIFICATE-----"
Try
Dim resp = New SamlHelper.Response(cert, samlResponse)
If resp.IsValid() Then
Dim email = resp.GetEmail()
Dim firstName = resp.GetFirstName()
Dim lastName = resp.GetLastName()
result.InnerHtml = $"<h2>Welcome, {firstName} {lastName}</h2><p>Email: {email}</p>"
Else
result.InnerHtml = "<h2>Invalid SAML Response</h2>"
End If
Catch ex As Exception
result.InnerHtml = $"<h2>Error parsing response: {ex.Message}</h2>"
End Try
End Sub
End Class
End Namespace

83
App_Code/SAMLHelper.vb Normal file
View file

@ -0,0 +1,83 @@
Imports System.IO
Imports System.Text
Imports System.Xml
Imports System.Security.Cryptography
Imports System.Security.Cryptography.X509Certificates
Imports System.Security.Cryptography.Xml
Imports System.IO.Compression
Namespace SAML
Public Class SamlHelper
Public Shared Function CreateAuthRequest(issuer As String, assertionConsumerServiceUrl As String) As String
Dim id = "_" & Guid.NewGuid().ToString()
Dim issueInstant = DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ssZ")
Dim requestXml As String = String.Format( _
"<samlp:AuthnRequest xmlns:samlp=""urn:oasis:names:tc:SAML:2.0:protocol"" ID=""{0}"" Version=""2.0"" IssueInstant=""{1}"" ProtocolBinding=""urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"" AssertionConsumerServiceURL=""{2}"">" & vbCrLf & _
" <saml:Issuer xmlns:saml=""urn:oasis:names:tc:SAML:2.0:assertion"">{3}</saml:Issuer>" & vbCrLf & _
"</samlp:AuthnRequest>", _
id, issueInstant, assertionConsumerServiceUrl, issuer _
)
Dim bytes = Encoding.UTF8.GetBytes(requestXml)
Using ms = New MemoryStream()
Using zip = New DeflateStream(ms, CompressionMode.Compress, True)
zip.Write(bytes, 0, bytes.Length)
End Using
Dim compressedBytes = ms.ToArray()
Return Convert.ToBase64String(compressedBytes)
End Using
End Function
Public Class Response
Private ReadOnly _xml As XmlDocument
Private ReadOnly _certificate As X509Certificate2
Public Sub New(certString As String, base64Response As String)
Dim decoded = Convert.FromBase64String(base64Response)
Dim xmlString = Encoding.UTF8.GetString(decoded)
_xml = New XmlDocument()
_xml.PreserveWhitespace = True
_xml.LoadXml(xmlString)
_certificate = New X509Certificate2(Encoding.UTF8.GetBytes(certString))
End Sub
Public Function IsValid() As Boolean
Dim ns = New XmlNamespaceManager(_xml.NameTable)
ns.AddNamespace("ds", "http://www.w3.org/2000/09/xmldsig#")
Dim signatureNode = _xml.SelectSingleNode("//ds:Signature", ns)
If signatureNode Is Nothing Then Return False
Dim signedXml = New SignedXml(_xml)
signedXml.LoadXml(CType(signatureNode, XmlElement))
Return signedXml.CheckSignature(_certificate, True)
End Function
Public Function GetEmail() As String
Return GetAttributeValue("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress")
End Function
Public Function GetFirstName() As String
Return GetAttributeValue("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname")
End Function
Public Function GetLastName() As String
Return GetAttributeValue("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname")
End Function
Private Function GetAttributeValue(attributeName As String) As String
Dim nsmgr = New XmlNamespaceManager(_xml.NameTable)
nsmgr.AddNamespace("saml", "urn:oasis:names:tc:SAML:2.0:assertion")
Dim attrNode = _xml.SelectSingleNode(String.Format("//saml:Attribute[@Name='{0}']/saml:AttributeValue", attributeName), nsmgr)
Return If(attrNode IsNot Nothing, attrNode.InnerText, String.Empty)
End Function
End Class
End Class
End Namespace

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,398 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Logging</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Logging.IdentityModelEventSource">
<summary>
Event source based logger to log different events.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Logger">
<summary>
Static logger that is exposed externally. An external application or framework can hook up a listener to this event source to log data in a custom way.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII">
<summary>
Flag which indicates whether or not PII is shown in logs. False by default.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HiddenPIIString">
<summary>
String that is used in place of any arguments to log messages if the 'ShowPII' flag is set to false.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HeaderWritten">
<summary>
Indicates whether or the log message header (contains library version, date/time, and PII debugging information) has been written.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._versionLogMessage">
<summary>
The log message that indicates the current library version.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._dateLogMessage">
<summary>
The log message that indicates the date.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOffLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOnLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String)">
<summary>
Writes an event log by using the provided string argument and current UTC time.
No level filtering is done on the event.
</summary>
<param name="message">The log message.</param>
<remarks>No level filtering.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String,System.Object[])">
<summary>
Writes an event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String)">
<summary>
Writes a verbose event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String,System.Object[])">
<summary>
Writes a verbose event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String)">
<summary>
Writes an information event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String,System.Object[])">
<summary>
Writes an information event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String)">
<summary>
Writes a warning event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String,System.Object[])">
<summary>
Writes a warning event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String)">
<summary>
Writes an error event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String,System.Object[])">
<summary>
Writes an error event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String)">
<summary>
Writes a critical event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String,System.Object[])">
<summary>
Writes a critical event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument, arguments list and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.LogLevel">
<summary>
Minimum log level to log events. Default is Warning.
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogHelper">
<summary>
Helper class for logging.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentNullException(System.String)">
<summary>
Logs an exception using the event source logger and returns new <see cref="T:System.ArgumentNullException"/> exception.
</summary>
<param name="argument">argument that is null or empty.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Diagnostics.Tracing.EventLevel,System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogInformation(System.String,System.Object[])">
<summary>
Logs an information event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogVerbose(System.String,System.Object[])">
<summary>
Logs a verbose event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogWarning(System.String,System.Object[])">
<summary>
Logs a warning event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionImpl``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.FormatInvariant(System.String,System.Object[])">
<summary>
Formats the string using InvariantCulture
</summary>
<param name="format">Format string.</param>
<param name="args">Format arguments.</param>
<returns>Formatted string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogMessages">
<summary>
Log messages and codes for Microsoft.IdentityModel.Logging
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.TextWriterEventListener">
<summary>
Event listener that writes logs to a file or a fileStream provided by user.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.TextWriterEventListener.DefaultLogFileName">
<summary>
Name of the default log file, excluding its path.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.String)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="filePath">location of the file where log messages will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.IO.StreamWriter)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="streamWriter">StreamWriter where logs will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)">
<summary>
Called whenever an event has been written by an event source for which the event listener has enabled events.
</summary>
<param name="eventData"><see cref="T:System.Diagnostics.Tracing.EventWrittenEventArgs"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.Dispose">
<summary>
Releases all resources used by the current instance of the <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> class.
</summary>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,310 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Protocols</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage">
<summary>
base class for authentication protocol messages.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.#ctor">
<summary>
Initializes a default instance of the <see cref="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildFormPost">
<summary>
Builds a form post using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>html with head set to 'Title', body containing a hiden from with action = IssuerAddress.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildRedirectUrl">
<summary>
Builds a Url using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>UrlEncoded string.</returns>
<remarks>Each parameter &lt;Key, Value&gt; is first transformed using <see cref="M:System.Uri.EscapeDataString(System.String)"/>.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.GetParameter(System.String)">
<summary>
Returns a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<returns>The value of the parameter or null if the parameter does not exists.</returns>
<exception cref="T:System.ArgumentNullException">If parameter is null</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.IssuerAddress">
<summary>
Gets or sets the issuer address.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.Parameters">
<summary>
Gets the message parameters as a Dictionary.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.PostTitle">
<summary>
Gets or sets the title used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.RemoveParameter(System.String)">
<summary>
Removes a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<exception cref="T:System.ArgumentNullException">If 'parameter' is null or empty.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameter(System.String,System.String)">
<summary>
Sets a parameter to the Parameters Dictionary.
</summary>
<param name="parameter">The parameter name.</param>
<param name="value">The value to be assigned to parameter.</param>
<exception cref="T:System.ArgumentNullException">If 'parameterName' is null or empty.</exception>
<remarks>If null is passed as value and the parameter exists, that parameter is removed.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameters(System.Collections.Specialized.NameValueCollection)">
<summary>
Sets a collection parameters.
</summary>
<param name="nameValueCollection"></param>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptButtonText">
<summary>
Gets or sets the script button text used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptDisabledText">
<summary>
Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1">
<summary>
Manages the retrieval of Configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultAutomaticRefreshInterval">
<summary>
1 day is the default time interval that afterwards, <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will obtain new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultRefreshInterval">
<summary>
30 seconds is the default time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain a new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumAutomaticRefreshInterval">
<summary>
5 minutes is the minimum value for automatic refresh. <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> can not be set less than this value.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumRefreshInterval">
<summary>
1 second is the minimum time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain new configuration.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#cctor">
<summary>
Static initializer for a new object. Static initializers run before the first instance of the type is created.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0})">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},System.Net.Http.HttpClient)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="httpClient">The client to use when obtaining configuration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},Microsoft.IdentityModel.Protocols.IDocumentRetriever)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="docRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> that reaches out to obtain the configuration.</param>
<exception cref="T:System.ArgumentNullException">If 'metadataAddress' is null or empty.</exception>
<exception cref="T:System.ArgumentNullException">If 'configRetriever' is null.</exception>
<exception cref="T:System.ArgumentNullException">If 'docRetriever' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval">
<summary>
Gets or sets the <see cref="T:System.TimeSpan"/> that controls how often an automatic metadata refresh should occur.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval">
<summary>
The minimum time between retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync">
<summary>
Obtains an updated version of Configuration.
</summary>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel">CancellationToken</param>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh">
<summary>
Requests that then next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> obtain new configuration.
<para>If the last refresh was greater than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> then the next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will retrieve new configuration.</para>
<para>If <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> == <see cref="F:System.TimeSpan.MaxValue"/> then this method does nothing.</para>
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever">
<summary>
Reads a local file from the disk.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Reads a document using <see cref="T:System.IO.FileStream"/>.
</summary>
<param name="address">Fully qualified path to a file.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/> not used.</param>
<returns>UTF8 decoding of bytes in the file.</returns>
<exception cref="T:System.ArgumentNullException">If address is null or whitespace.</exception>
<exception cref="T:System.IO.IOException">with inner expection containing the original exception.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever">
<summary>
Retrieves metadata information using HttpClient.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor(System.Net.Http.HttpClient)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class with a specified httpClient.
</summary>
<param name="httpClient"><see cref="T:System.Net.Http.HttpClient"/></param>
<exception cref="T:System.ArgumentNullException">'httpClient' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.RequireHttps">
<summary>
Requires Https secure channel for sending requests.. This is turned ON by default for security reasons. It is RECOMMENDED that you do not allow retrieval from http addresses by default.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Returns a task which contains a string converted from remote document when completed, by using the provided address.
</summary>
<param name="address">Location of document</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/></param>
<returns>Document as a string</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationManager`1">
<summary>
Interface that defines a model for retrieving configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Retrieve the current configuration, refreshing and/or caching as needed.
This method will throw if the configuration cannot be retrieved, instead of returning null.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/></param>
<returns><see cref="T:System.Threading.Tasks.Task`1"/></returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.RequestRefresh">
<summary>
Indicate that the configuration may be stale (as indicated by failing to process incoming tokens).
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1">
<summary>
Interface that defines methods to retrieve configuration.
</summary>
<typeparam name="T">The type of the configuration metadata.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)">
<summary>
Retrieves a populated configuration given an address and an <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.
</summary>
<param name="address">Address of the discovery document.</param>
<param name="retriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> to use to read the discovery document.</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/>.</param>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever">
<summary>
Interface that defines a document retriever that returns the document as a string.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Obtains a document from an address.
</summary>
<param name="address">location of document.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>document as a string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1">
<summary>
This type is for users that want a fixed and static Configuration.
In this case, the configuration is obtained and passed to the constructor.
</summary>
<typeparam name="T">must be a class.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.#ctor(`0)">
<summary>
Initializes an new instance of <see cref="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1"/> with a Configuration instance.
</summary>
<param name="configuration">Configuration of type OpenIdConnectConfiguration or OpenIdConnectConfiguration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>Configuration of type T.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.RequestRefresh">
<summary>
For the this type, this is a no-op
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.LogMessages">
<summary>
Log messages and codes
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.X509CertificateValidationMode">
<summary>
Represents X509Certificate validation mode.
</summary>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

BIN
Bin/Newtonsoft.Json.dll Normal file

Binary file not shown.

Binary file not shown.

10752
Bin/Newtonsoft.Json.xml Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,106 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Sustainsys.Saml2.HttpModule</name>
</assembly>
<members>
<member name="T:Sustainsys.Saml2.HttpModule.CommandResultHttpExtensions">
<summary>
Extension methods to CommandResult to update a HttpResponseBase.
</summary>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.CommandResultHttpExtensions.Apply(Sustainsys.Saml2.WebSso.CommandResult,System.Web.HttpResponseBase,System.Boolean,System.String)">
<summary>
Apply the command result to a bare HttpResponse.
</summary>
<param name="commandResult">The CommandResult that will update the HttpResponse.</param>
<param name="response">Http Response to write the result to.</param>
<param name="emitSameSiteNone">Include a SameSite=None attribute on any cookies set</param>
<param name="modulePath">Path of Sustainsys.Saml2 instance - used for isolation of data protection</param>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.CommandResultHttpExtensions.ApplyCookies(Sustainsys.Saml2.WebSso.CommandResult,System.Web.HttpResponseBase,System.Boolean,System.String)">
<summary>
Apply cookies of the CommandResult to the response.
</summary>
<param name="commandResult">Commandresult</param>
<param name="response">Response</param>
<param name="emitSameSiteNone">Include a SameSite=None attribute on any cookies set</param>
<param name="modulePath">Path of Sustainsys.Saml2 instance - used for isolation of data protection</param>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.CommandResultHttpExtensions.ApplyHeaders(Sustainsys.Saml2.WebSso.CommandResult,System.Web.HttpResponseBase)">
<summary>
Apply headers of the command result to the response.
</summary>
<param name="commandResult">Command result containing headers.</param>
<param name="response">Response to set headers in.</param>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.CommandResultHttpExtensions.SignInOrOutSessionAuthenticationModule(Sustainsys.Saml2.WebSso.CommandResult)">
<summary>
Establishes an application session by calling the session authentication module.
</summary>
</member>
<member name="T:Sustainsys.Saml2.HttpModule.HttpRequestBaseExtensions">
<summary>
Static class that hold extension methods for <see cref="T:System.Web.HttpRequestBase"/>.
</summary>
</member>
<member name="F:Sustainsys.Saml2.HttpModule.HttpRequestBaseExtensions.ProtectionPurpose">
<summary>
Purpose string used with data protection.
</summary>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.HttpRequestBaseExtensions.ToHttpRequestData(System.Web.HttpRequestBase,System.String)">
<summary>
Extension method to convert a HttpRequestBase to a HttpRequestData.
</summary>
<param name="requestBase">The request object used to populate the <c>HttpRequestData</c>.</param>
<param name="modulePath">Path of Sustainsys.Saml2 instance - used for isolation of data protection</param>
<returns>The <c>HttpRequestData</c> object that has been populated by the request.</returns>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.HttpRequestBaseExtensions.ToHttpRequestData(System.Web.HttpRequestBase,System.Boolean,System.String)">
<summary>
Extension method to convert a HttpRequestBase to a HttpRequestData.
</summary>
<param name="requestBase">The request object used to populate the <c>HttpRequestData</c>.</param>
<param name="ignoreCookies">Ignore cookies when extracting data.
This is useful for the stub idp that might see the relay state
and the requester's cookie, but shouldn't try to decrypt it.</param>
<param name="modulePath">Path of Sustainsys.Saml2 instance - used for isolation of data protection</param>
<returns>The <c>HttpRequestData</c> object that has been populated by the request.</returns>
</member>
<member name="T:Sustainsys.Saml2.HttpModule.Saml2AuthenticationModule">
<summary>
Http Module for SAML2 authentication. The module hijacks the
~/Saml2AuthenticationModule/ path of the http application to provide
authentication services.
</summary>
</member>
<member name="P:Sustainsys.Saml2.HttpModule.Saml2AuthenticationModule.Options">
<summary>
The one and only options instance used by the
<see cref="T:Sustainsys.Saml2.HttpModule.Saml2AuthenticationModule"/>. It is instantiated by
loading the web.config, but after that it can be modified or even
replaced from code.
</summary>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.Saml2AuthenticationModule.Init(System.Web.HttpApplication)">
<summary>
Init the module and subscribe to events.
</summary>
<param name="context"></param>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.Saml2AuthenticationModule.OnAuthenticateRequest(System.Object,System.EventArgs)">
<summary>
Begin request handler that captures all traffic to configured module
path.
</summary>
<param name="sender">The http application.</param>
<param name="e">Ignored</param>
</member>
<member name="M:Sustainsys.Saml2.HttpModule.Saml2AuthenticationModule.Dispose">
<summary>
IDisposable implementation.
</summary>
</member>
</members>
</doc>

BIN
Bin/Sustainsys.Saml2.dll Normal file

Binary file not shown.

Binary file not shown.

4509
Bin/Sustainsys.Saml2.xml Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -1,24 +1,27 @@
 
Microsoft Visual Studio Solution File, Format Version 11.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2010 # Visual Studio Version 17
VisualStudioVersion = 17.14.36202.13 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Persons", ".", "{01466341-5651-4D0B-B2AD-BB919828C4C3}" Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Persons", ".", "{01466341-5651-4D0B-B2AD-BB919828C4C3}"
ProjectSection(WebsiteProperties) = preProject ProjectSection(WebsiteProperties) = preProject
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.8.1"
Debug.AspNetCompiler.VirtualPath = "/Persons" Debug.AspNetCompiler.VirtualPath = "/Persons"
Debug.AspNetCompiler.PhysicalPath = "..\Persons\" Debug.AspNetCompiler.PhysicalPath = "..\cudreg-saml2\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Persons\" Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Persons\"
Debug.AspNetCompiler.Updateable = "true" Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true" Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false" Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True" Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/Persons" Release.AspNetCompiler.VirtualPath = "/Persons"
Release.AspNetCompiler.PhysicalPath = "..\Persons\" Release.AspNetCompiler.PhysicalPath = "..\cudreg-saml2\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Persons\" Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Persons\"
Release.AspNetCompiler.Updateable = "true" Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true" Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false" Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False" Release.AspNetCompiler.Debug = "False"
VWDPort = "15607" VWDPort = "15607"
SlnRelativePath = "..\cudreg-saml2\"
EndProjectSection EndProjectSection
EndProject EndProject
Global Global
@ -31,4 +34,7 @@ Global
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {96BE475B-F3EB-4AA3-BE04-E7472D07177E}
EndGlobalSection
EndGlobal EndGlobal

13
SAML/Login.aspx Normal file
View file

@ -0,0 +1,13 @@
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Login.aspx.vb" Inherits="SAML.Login" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Login with ADFS</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Button ID="btnLogin" runat="server" Text="Login with ADFS" OnClick="btnLogin_Click" />
</form>
</body>
</html>

13
SAML/Login.aspx.vb Normal file
View file

@ -0,0 +1,13 @@
Imports System.Web
Namespace SAML
Partial Public Class Login
Inherits System.Web.UI.Page
Protected Sub btnLogin_Click(sender As Object, e As EventArgs)
Dim samlRequest As String = SamlHelper.CreateAuthRequest("https://cudreg.com", "https://localhost:7009/SAML/PostResponse.aspx")
Dim redirectUrl As String = "https://sso.satitm.chula.ac.th/adfs/ls?SAMLRequest=" & HttpUtility.UrlEncode(samlRequest)
Response.Redirect(redirectUrl)
End Sub
End Class
End Namespace

13
SAML/PostResponse.aspx Normal file
View file

@ -0,0 +1,13 @@
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="PostResponse.aspx.vb" Inherits="SAML.PostResponse" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>SAML Response</title>
</head>
<body>
<form id="form1" runat="server">
<div id="result" runat="server"></div>
</form>
</body>
</html>

58
SAML/PostResponse.aspx.vb Normal file
View file

@ -0,0 +1,58 @@
Namespace SAML
Partial Public Class PostResponse
Inherits System.Web.UI.Page
Protected Sub Page_Load(sender As Object, e As EventArgs)
Dim samlResponse = Request.Form("SAMLResponse")
If String.IsNullOrEmpty(samlResponse) Then
result.InnerHtml = "<h2>No SAML Response found</h2>"
Return
End If
Dim cert As String = _
"-----BEGIN CERTIFICATE-----" & vbCrLf & _
"MIIE6DCCAtCgAwIBAgIQOQaY6KUdPItB52hpOsIBvjANBgkqhkiG9w0BAQsFADAw" & vbCrLf & _
"MS4wLAYDVQQDEyVBREZTIFNpZ25pbmcgLSBzc28uc2F0aXRtLmNodWxhLmFjLnRo" & vbCrLf & _
"MB4XDTI1MDQwNjEyNTQxNFoXDTI2MDQwNjEyNTQxNFowMDEuMCwGA1UEAxMlQURG" & vbCrLf & _
"UyBTaWduaW5nIC0gc3NvLnNhdGl0bS5jaHVsYS5hYy50aDCCAiIwDQYJKoZIhvcN" & vbCrLf & _
"AQEBBQADggIPADCCAgoCggIBAMlu6kjF9Ghsr9Z6+AIYRjHTx4OL6fROrCzq26/h" & vbCrLf & _
"YBfsrsL5QeJlWtYhRsbrW3wAFaQukNYal5LRJx8BXXlngIDIfoIEixT62BqFC2XO" & vbCrLf & _
"Ju7Rq+p1ei2WZb06V0It8ohmZVPqsDPzygjBblta27DBGQ8qQ4upGVTwOIBRisMj" & vbCrLf & _
"Ixxx90p6DeB2ZCiGOYCYMYPdFWwz8QCZv64WbWRw3WhRKla05nyiV352aaC53XL0" & vbCrLf & _
"ZZlRFV8jj6YiKsbKEzkxKpDVxEaH28NGVptBJyfkU5VOpqkmZZtqhSCrrIprfa+j" & vbCrLf & _
"Dl6De9Siq8/CUDoZhkhRoNUqmhaiu0ZbV3AF0iN+XLtmeP/GJREz5m3gOoAGH8Rl" & vbCrLf & _
"g5pyca6vmSnJHKnTsu8Elc4pVvO6jH1hqdBLVFa4uftqqBY2B/ZuUXj7764eHsMZ" & vbCrLf & _
"kHZC6SXOxAP2BPbRbslbd4CRErnuE5rgMRQAYQVWcrDvagUdvm2T1+wJN7GmwBg9" & vbCrLf & _
"GGhTA3r9howvIj2RFLxCZbpy2QlWKMb1zjyvtCHrM7g8/aGuvJfY5cmfww5aib4a" & vbCrLf & _
"QpJq+ZyCPZpW8iXZTnxVuyV57WFTOmCvy/9dfK/IQXEqG5FIikwaB2nyL/D5FXIP" & vbCrLf & _
"xH+OzLeLdLlKe2zpOJgx2p1M6rJ29AJRASKs+ikqlSV/i5t+1sw2qinFKJ8ZegsN" & vbCrLf & _
"HDgBAgMBAAEwDQYJKoZIhvcNAQELBQADggIBABzrTEbbzMHbq0mIV1w3TL6IVOv8" & vbCrLf & _
"BeXoYznSI7P/MhJwBXMbrYNNbpSkv5jWhtSAWQWrDrN0IUqvKwIYYRlRtgvma6Mk" & vbCrLf & _
"PFXRvzkVhpuqm/bp1HAH2yoJUXNuWInzdJeMnPaQymU/hSvSJ8f66pwlPrAYTSBk" & vbCrLf & _
"YIbcEdLJ3OmcnjOjj4W+s70J0s0HTnNQboAzjue3SmpsPVVetP+cwaoIASz2M6Fr" & vbCrLf & _
"wfqFaUUiSAxcUzfELOyN8d1dnRFQVkrNyayz0fHH2Kje5GnGLMNaZTKZ88nVbmoq" & vbCrLf & _
"Cbow7ofjEb74jNwWhmRhntuEE0I1W55LnU3Srjptjnfkd604W60DbqiWBKM6rTTb" & vbCrLf & _
"ilCJsW3umI26/eFZAfZIA2n7/FKDcDXFCJOM1UV+09pZ12p0TAaA3nyA2TbdI+PM" & vbCrLf & _
"GtvvEK2PU+tdU64uAlOOaldk52dIuR7kOVBk53Gf3K2wY2U/oovLrlXLHb8NJD49" & vbCrLf & _
"Po6XT3w6WL+okyr7FgdmAHTNpTnthXG0pyN4KUFEAK9HWXdGRWUgFX4yBOjmPN1N" & vbCrLf & _
"Vx7G3klMd+ccQUU80lxDKQUbjhcWLloWNlg6w2SKk4Ku7/f8HmPkqppvFow+ytWm" & vbCrLf & _
"0abcCjptoUrFR1BCM86CIDCo9bEWIyWv+SHr2AvlQ8D0Z8aQRr6M73NN1PNWruPf" & vbCrLf & _
"bpD2ekhB2vZ9R2ij" & vbCrLf & _
"-----END CERTIFICATE-----"
Try
Dim resp = New SamlHelper.Response(cert, samlResponse)
If resp.IsValid() Then
Dim email = resp.GetEmail()
Dim firstName = resp.GetFirstName()
Dim lastName = resp.GetLastName()
result.InnerHtml = "<h2>Welcome, " & firstName & " " & lastName & "</h2><p>Email: " & email & "</p>"
Else
result.InnerHtml = "<h2>Invalid SAML Response</h2>"
End If
Catch ex As Exception
result.InnerHtml = "<h2>Error parsing response: " & ex.Message & "</h2>"
End Try
End Sub
End Class
End Namespace

19
SSLProxy/Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM nginx:alpine
# Create directories for SSL certificates
RUN mkdir -p /etc/ssl/certs /etc/ssl/private
# Copy SSL certificates
COPY nginx.crt /etc/ssl/certs/
COPY nginx.key /etc/ssl/private/
# Set proper permissions for private key
RUN chmod 600 /etc/ssl/private/nginx.key
# Copy nginx configuration
COPY nginx.conf /etc/nginx/nginx.conf
# Expose HTTPS port
EXPOSE 7009
CMD ["nginx", "-g", "daemon off;"]

View file

@ -0,0 +1,9 @@
version: '3.8'
services:
ssl-proxy:
build: .
ports:
- "7009:7009"
restart: unless-stopped
network_mode: host

30
SSLProxy/nginx.conf Normal file
View file

@ -0,0 +1,30 @@
events {
worker_connections 1024;
}
http {
upstream backend {
server localhost:15607;
}
server {
listen 7009 ssl;
server_name localhost;
ssl_certificate /etc/ssl/certs/nginx.crt;
ssl_certificate_key /etc/ssl/private/nginx.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
}
}
}

21
SSLProxy/nginx.crt Normal file
View file

@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDZzCCAk+gAwIBAgIUT8oDOYQNQz9DvYck7BXLBHR4VN0wDQYJKoZIhvcNAQEL
BQAwQzELMAkGA1UEBhMCVEgxEDAOBgNVBAgMB0Jhbmdrb2sxDjAMBgNVBAoMBUNo
dWxhMRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMjUwNjA4MTAyODIxWhcNMjYwNjA4
MTAyODIxWjBDMQswCQYDVQQGEwJUSDEQMA4GA1UECAwHQmFuZ2tvazEOMAwGA1UE
CgwFQ2h1bGExEjAQBgNVBAMMCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEBBQAD
ggEPADCCAQoCggEBALk5W+iOKTBMI/AF99lHKWdTUf8UwrZtf/4jG3k3mNGLe7No
DQrGav+m21m14zVZvAl3xgdoNiSFoJvyk9j8Y2cf+agfFdWDiwbSjfLtRDhx2ry9
IZmDrd/XNJPgr5dUL13ClERu+3pk5B+kkU+CJ7d7turXvwhJ3zra2t5zt2CuR1HS
MYABnhRX7aw/H/qQaLICA9HhfBe1DRPSt/YvzPKLxpfPqH5eTxNyIChPb9nznz7i
5dPmemX/+uPD4/zjfk9xXJK4E/aTR3rI6ak3GLqMQP0CEw/6Km5+3X4YYKnJRpm2
YiTGYxqlC2BdjlEVxXcLQv5y+xV0n6OlS+HJxmUCAwEAAaNTMFEwHQYDVR0OBBYE
FPe6TUYe7xFXtdnUi+sWY9ms9ijbMB8GA1UdIwQYMBaAFPe6TUYe7xFXtdnUi+sW
Y9ms9ijbMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABOpG8s0
GwPE9iWsQTtqC4dgc7RFRLvP8BXAQiEJ3Xv6bDoJbxV4gPPmj4FbEY6ZZ7zzRf/g
sgOrwap+t9vSKTsmEizkYgEGFNsfpf826zqwzKClwyb5CmR19xJvRqnKui1SnSJq
y/occobRqBV4LE2ZbJNHoV7ltjW41FnYgolqyKzwK/+UZoMdvlDQemVI7mDArVdU
VIk7kV4H647Ti8ik/+klMyuIGP/nNKCKwr4eayrts5cYsx0fWMclaHxfDcu6VqgG
v2MdUt+Tbx1xoEDBo/C+8tUaHq0ddX5lGISUxGnGsHLoWIY2wZQXTlO8Oo3FP48J
v9USyuUGyenWZSo=
-----END CERTIFICATE-----

28
SSLProxy/nginx.key Normal file
View file

@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC5OVvojikwTCPw
BffZRylnU1H/FMK2bX/+Ixt5N5jRi3uzaA0Kxmr/pttZteM1WbwJd8YHaDYkhaCb
8pPY/GNnH/moHxXVg4sG0o3y7UQ4cdq8vSGZg63f1zST4K+XVC9dwpREbvt6ZOQf
pJFPgie3e7bq178ISd862trec7dgrkdR0jGAAZ4UV+2sPx/6kGiyAgPR4XwXtQ0T
0rf2L8zyi8aXz6h+Xk8TciAoT2/Z858+4uXT5npl//rjw+P8435PcVySuBP2k0d6
yOmpNxi6jED9AhMP+ipuft1+GGCpyUaZtmIkxmMapQtgXY5RFcV3C0L+cvsVdJ+j
pUvhycZlAgMBAAECggEAChzv3/dtF8o8dxU4VlhskgvqUPFW/UNmxt8vV5O5yA0j
1KSUe7dgLbO0S8Zi0K2k1uZ/fTWLKTzTi1g4CtOi8MU96hhCZq0/OMDjx7T9MdDD
luUDseBO7McRA5bzt2E9EdM3KbJekCz0iKbBWVQ7q2i5kMJ1V3RDGDFNXHJ4e3KI
gbBjB13czQLyCL2hUFNiehJqy18CvBFWfjWaI33xfw2VdW1BHtbhTbXqELOwGMyy
SKbcwJxJ3/xcF+vCuqqfZVITIUMAhS6vJ1l7IOp7k9KslXgZU2+5Y9fGRoCxu8/x
pjkguG+3ZGPxUXFIFoCsccY25V7dV0ZPZviTh1zLOQKBgQD77SEIu9y4So0wQ4jX
okTgkjsIoLnqEFBH5njpqJAXfJi5whkJYK0LIjTd1F+p29c0/YH1iI/BOzJ1nRY1
6xQHgDMg/pXhQR8x2QE3iHUSDZu3X2aRz4AJJBsXIOvsrfsH22lmPfeCumCbCHLU
ZFLUExNOxZpO6Hl8Oy9OnOfQ/QKBgQC8OBw55ovfTgEcDC1F7vgSmXG/Mz5HIqDq
e88l2QCY5bZYQjYk6cmmxeLl4rN+oQet7amZB/7jEmzucU+SYzOaOkGUtymZvGV7
xoswiNh0lH1S21qqXm6o5W4od0DcnYRFoqWzp/Y4PdS+p+Ut8qUmHyZ/p2p2ePMB
Z6PCW4VbiQKBgQDUAoZnZDnm+g6BzIPv/IZ8e3Ok2iY7fckiCSo+cXX53ghlY5xQ
UQSvtvTIrn5nYzRkSufAq1FXa6sWYcGcVJ5BhbkBjl6x92z6NUaZ5oOnUr51/ppC
IV790l3eA/2n6+6zeQnlWkbexFyie+SvK1KtWPRJuXAX8fqy+tfgD5njPQKBgQCH
irSw8ZiKn+bmptI3iWa2JjAmq6VOnt5Y3f4H2GS4trwAhPXu0Tk5U0oZmI8AQsB/
/SVkIcDpDwzJDWprFetERm2RxfE8V9KRNyJnOjT+hyxU7cg15jk0gbw5gd+AwCJP
71f6r5r9V3GMNuYwl4tcj5Qu24YseN8uhM8GGNhJWQKBgB0zUIFt04NHy8xydjzn
uGFjel56SLbp7eD4nvP8Oc1BmBJp1coEJ1E4YgQZ8Ps4JPiMY+P0txBC7hqWrQGI
itIZiMsMVoQfCJ2Odbdi9yAvDQCtZ7oJZv7zrupTfsfK3zS7GtxysC+PQ5KcvifF
tCtCJW9Uao2thEz5InDBuMXK
-----END PRIVATE KEY-----

16
packages.config Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.IdentityModel.Logging" version="5.2.4" targetFramework="net481" />
<package id="Microsoft.IdentityModel.Protocols" version="5.2.4" targetFramework="net481" />
<package id="Microsoft.IdentityModel.Tokens" version="5.2.4" targetFramework="net481" />
<package id="Microsoft.IdentityModel.Tokens.Saml" version="5.2.4" targetFramework="net481" />
<package id="Microsoft.IdentityModel.Xml" version="5.2.4" targetFramework="net481" />
<package id="Newtonsoft.Json" version="10.0.1" targetFramework="net481" />
<package id="Sustainsys.Saml2" version="2.11.0" targetFramework="net481" />
<package id="Sustainsys.Saml2.HttpModule" version="2.11.0" targetFramework="net481" />
<package id="System.Configuration.ConfigurationManager" version="4.4.1" targetFramework="net481" />
<package id="System.Security.AccessControl" version="4.7.0" targetFramework="net481" />
<package id="System.Security.Cryptography.Xml" version="4.7.1" targetFramework="net481" />
<package id="System.Security.Permissions" version="4.7.0" targetFramework="net481" />
<package id="System.Security.Principal.Windows" version="4.7.0" targetFramework="net481" />
</packages>

Binary file not shown.

View file

@ -0,0 +1,398 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Logging</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Logging.IdentityModelEventSource">
<summary>
Event source based logger to log different events.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Logger">
<summary>
Static logger that is exposed externally. An external application or framework can hook up a listener to this event source to log data in a custom way.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII">
<summary>
Flag which indicates whether or not PII is shown in logs. False by default.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HiddenPIIString">
<summary>
String that is used in place of any arguments to log messages if the 'ShowPII' flag is set to false.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HeaderWritten">
<summary>
Indicates whether or the log message header (contains library version, date/time, and PII debugging information) has been written.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._versionLogMessage">
<summary>
The log message that indicates the current library version.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._dateLogMessage">
<summary>
The log message that indicates the date.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOffLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOnLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String)">
<summary>
Writes an event log by using the provided string argument and current UTC time.
No level filtering is done on the event.
</summary>
<param name="message">The log message.</param>
<remarks>No level filtering.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String,System.Object[])">
<summary>
Writes an event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String)">
<summary>
Writes a verbose event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String,System.Object[])">
<summary>
Writes a verbose event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String)">
<summary>
Writes an information event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String,System.Object[])">
<summary>
Writes an information event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String)">
<summary>
Writes a warning event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String,System.Object[])">
<summary>
Writes a warning event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String)">
<summary>
Writes an error event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String,System.Object[])">
<summary>
Writes an error event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String)">
<summary>
Writes a critical event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String,System.Object[])">
<summary>
Writes a critical event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument, arguments list and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.LogLevel">
<summary>
Minimum log level to log events. Default is Warning.
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogHelper">
<summary>
Helper class for logging.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentNullException(System.String)">
<summary>
Logs an exception using the event source logger and returns new <see cref="T:System.ArgumentNullException"/> exception.
</summary>
<param name="argument">argument that is null or empty.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Diagnostics.Tracing.EventLevel,System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogInformation(System.String,System.Object[])">
<summary>
Logs an information event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogVerbose(System.String,System.Object[])">
<summary>
Logs a verbose event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogWarning(System.String,System.Object[])">
<summary>
Logs a warning event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionImpl``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.FormatInvariant(System.String,System.Object[])">
<summary>
Formats the string using InvariantCulture
</summary>
<param name="format">Format string.</param>
<param name="args">Format arguments.</param>
<returns>Formatted string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogMessages">
<summary>
Log messages and codes for Microsoft.IdentityModel.Logging
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.TextWriterEventListener">
<summary>
Event listener that writes logs to a file or a fileStream provided by user.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.TextWriterEventListener.DefaultLogFileName">
<summary>
Name of the default log file, excluding its path.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.String)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="filePath">location of the file where log messages will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.IO.StreamWriter)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="streamWriter">StreamWriter where logs will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)">
<summary>
Called whenever an event has been written by an event source for which the event listener has enabled events.
</summary>
<param name="eventData"><see cref="T:System.Diagnostics.Tracing.EventWrittenEventArgs"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.Dispose">
<summary>
Releases all resources used by the current instance of the <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> class.
</summary>
</member>
</members>
</doc>

View file

@ -0,0 +1,398 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Logging</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Logging.IdentityModelEventSource">
<summary>
Event source based logger to log different events.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Logger">
<summary>
Static logger that is exposed externally. An external application or framework can hook up a listener to this event source to log data in a custom way.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII">
<summary>
Flag which indicates whether or not PII is shown in logs. False by default.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HiddenPIIString">
<summary>
String that is used in place of any arguments to log messages if the 'ShowPII' flag is set to false.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HeaderWritten">
<summary>
Indicates whether or the log message header (contains library version, date/time, and PII debugging information) has been written.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._versionLogMessage">
<summary>
The log message that indicates the current library version.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._dateLogMessage">
<summary>
The log message that indicates the date.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOffLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOnLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String)">
<summary>
Writes an event log by using the provided string argument and current UTC time.
No level filtering is done on the event.
</summary>
<param name="message">The log message.</param>
<remarks>No level filtering.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String,System.Object[])">
<summary>
Writes an event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String)">
<summary>
Writes a verbose event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String,System.Object[])">
<summary>
Writes a verbose event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String)">
<summary>
Writes an information event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String,System.Object[])">
<summary>
Writes an information event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String)">
<summary>
Writes a warning event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String,System.Object[])">
<summary>
Writes a warning event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String)">
<summary>
Writes an error event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String,System.Object[])">
<summary>
Writes an error event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String)">
<summary>
Writes a critical event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String,System.Object[])">
<summary>
Writes a critical event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument, arguments list and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.LogLevel">
<summary>
Minimum log level to log events. Default is Warning.
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogHelper">
<summary>
Helper class for logging.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentNullException(System.String)">
<summary>
Logs an exception using the event source logger and returns new <see cref="T:System.ArgumentNullException"/> exception.
</summary>
<param name="argument">argument that is null or empty.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Diagnostics.Tracing.EventLevel,System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogInformation(System.String,System.Object[])">
<summary>
Logs an information event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogVerbose(System.String,System.Object[])">
<summary>
Logs a verbose event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogWarning(System.String,System.Object[])">
<summary>
Logs a warning event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionImpl``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.FormatInvariant(System.String,System.Object[])">
<summary>
Formats the string using InvariantCulture
</summary>
<param name="format">Format string.</param>
<param name="args">Format arguments.</param>
<returns>Formatted string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogMessages">
<summary>
Log messages and codes for Microsoft.IdentityModel.Logging
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.TextWriterEventListener">
<summary>
Event listener that writes logs to a file or a fileStream provided by user.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.TextWriterEventListener.DefaultLogFileName">
<summary>
Name of the default log file, excluding its path.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.String)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="filePath">location of the file where log messages will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.IO.StreamWriter)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="streamWriter">StreamWriter where logs will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)">
<summary>
Called whenever an event has been written by an event source for which the event listener has enabled events.
</summary>
<param name="eventData"><see cref="T:System.Diagnostics.Tracing.EventWrittenEventArgs"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.Dispose">
<summary>
Releases all resources used by the current instance of the <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> class.
</summary>
</member>
</members>
</doc>

View file

@ -0,0 +1,398 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Logging</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Logging.IdentityModelEventSource">
<summary>
Event source based logger to log different events.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Logger">
<summary>
Static logger that is exposed externally. An external application or framework can hook up a listener to this event source to log data in a custom way.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII">
<summary>
Flag which indicates whether or not PII is shown in logs. False by default.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HiddenPIIString">
<summary>
String that is used in place of any arguments to log messages if the 'ShowPII' flag is set to false.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HeaderWritten">
<summary>
Indicates whether or the log message header (contains library version, date/time, and PII debugging information) has been written.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._versionLogMessage">
<summary>
The log message that indicates the current library version.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._dateLogMessage">
<summary>
The log message that indicates the date.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOffLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.IdentityModelEventSource._piiOnLogMessage">
<summary>
The log message that is shown when PII is off.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String)">
<summary>
Writes an event log by using the provided string argument and current UTC time.
No level filtering is done on the event.
</summary>
<param name="message">The log message.</param>
<remarks>No level filtering.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteAlways(System.String,System.Object[])">
<summary>
Writes an event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String)">
<summary>
Writes a verbose event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteVerbose(System.String,System.Object[])">
<summary>
Writes a verbose event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String)">
<summary>
Writes an information event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteInformation(System.String,System.Object[])">
<summary>
Writes an information event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String)">
<summary>
Writes a warning event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteWarning(System.String,System.Object[])">
<summary>
Writes a warning event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String)">
<summary>
Writes an error event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteError(System.String,System.Object[])">
<summary>
Writes an error event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String)">
<summary>
Writes a critical event log by using the provided string argument and current UTC time.
</summary>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.WriteCritical(System.String,System.Object[])">
<summary>
Writes a critical event log by using the provided string argument, current UTC time and the provided arguments list.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.IdentityModelEventSource.Write(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Writes an exception log by using the provided event identifer, exception argument, string argument, arguments list and current UTC time.
</summary>
<param name="level"><see cref="T:System.Diagnostics.Tracing.EventLevel"/></param>
<param name="innerException"><see cref="T:System.Exception"/></param>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.LogLevel">
<summary>
Minimum log level to log events. Default is Warning.
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogHelper">
<summary>
Helper class for logging.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentNullException(System.String)">
<summary>
Logs an exception using the event source logger and returns new <see cref="T:System.ArgumentNullException"/> exception.
</summary>
<param name="argument">argument that is null or empty.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
<remarks>EventLevel is set to Error.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String)">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String)">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="message">message to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogException``1(System.Diagnostics.Tracing.EventLevel,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentException``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an argument exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionMessage(System.Diagnostics.Tracing.EventLevel,System.Exception)">
<summary>
Logs an exception using the event source logger.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="exception">The exception to log.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogInformation(System.String,System.Object[])">
<summary>
Logs an information event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogVerbose(System.String,System.Object[])">
<summary>
Logs a verbose event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogWarning(System.String,System.Object[])">
<summary>
Logs a warning event.
</summary>
<param name="message">The log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogExceptionImpl``1(System.Diagnostics.Tracing.EventLevel,System.String,System.Exception,System.String,System.Object[])">
<summary>
Logs an exception using the event source logger and returns new typed exception.
</summary>
<param name="eventLevel">Identifies the level of an event to be logged.</param>
<param name="argumentName">Identifies the argument whose value generated the ArgumentException.</param>
<param name="innerException">the inner <see cref="T:System.Exception"/> to be added to the outer exception.</param>
<param name="format">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.FormatInvariant(System.String,System.Object[])">
<summary>
Formats the string using InvariantCulture
</summary>
<param name="format">Format string.</param>
<param name="args">Format arguments.</param>
<returns>Formatted string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Logging.LogMessages">
<summary>
Log messages and codes for Microsoft.IdentityModel.Logging
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Logging.TextWriterEventListener">
<summary>
Event listener that writes logs to a file or a fileStream provided by user.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Logging.TextWriterEventListener.DefaultLogFileName">
<summary>
Name of the default log file, excluding its path.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.String)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="filePath">location of the file where log messages will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.#ctor(System.IO.StreamWriter)">
<summary>
Initializes a new instance of <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> that writes logs to text file.
</summary>
<param name="streamWriter">StreamWriter where logs will be written.</param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)">
<summary>
Called whenever an event has been written by an event source for which the event listener has enabled events.
</summary>
<param name="eventData"><see cref="T:System.Diagnostics.Tracing.EventWrittenEventArgs"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Logging.TextWriterEventListener.Dispose">
<summary>
Releases all resources used by the current instance of the <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> class.
</summary>
</member>
</members>
</doc>

Binary file not shown.

View file

@ -0,0 +1,310 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Protocols</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage">
<summary>
base class for authentication protocol messages.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.#ctor">
<summary>
Initializes a default instance of the <see cref="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildFormPost">
<summary>
Builds a form post using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>html with head set to 'Title', body containing a hiden from with action = IssuerAddress.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildRedirectUrl">
<summary>
Builds a Url using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>UrlEncoded string.</returns>
<remarks>Each parameter &lt;Key, Value&gt; is first transformed using <see cref="M:System.Uri.EscapeDataString(System.String)"/>.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.GetParameter(System.String)">
<summary>
Returns a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<returns>The value of the parameter or null if the parameter does not exists.</returns>
<exception cref="T:System.ArgumentNullException">If parameter is null</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.IssuerAddress">
<summary>
Gets or sets the issuer address.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.Parameters">
<summary>
Gets the message parameters as a Dictionary.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.PostTitle">
<summary>
Gets or sets the title used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.RemoveParameter(System.String)">
<summary>
Removes a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<exception cref="T:System.ArgumentNullException">If 'parameter' is null or empty.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameter(System.String,System.String)">
<summary>
Sets a parameter to the Parameters Dictionary.
</summary>
<param name="parameter">The parameter name.</param>
<param name="value">The value to be assigned to parameter.</param>
<exception cref="T:System.ArgumentNullException">If 'parameterName' is null or empty.</exception>
<remarks>If null is passed as value and the parameter exists, that parameter is removed.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameters(System.Collections.Specialized.NameValueCollection)">
<summary>
Sets a collection parameters.
</summary>
<param name="nameValueCollection"></param>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptButtonText">
<summary>
Gets or sets the script button text used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptDisabledText">
<summary>
Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1">
<summary>
Manages the retrieval of Configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultAutomaticRefreshInterval">
<summary>
1 day is the default time interval that afterwards, <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will obtain new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultRefreshInterval">
<summary>
30 seconds is the default time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain a new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumAutomaticRefreshInterval">
<summary>
5 minutes is the minimum value for automatic refresh. <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> can not be set less than this value.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumRefreshInterval">
<summary>
1 second is the minimum time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain new configuration.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#cctor">
<summary>
Static initializer for a new object. Static initializers run before the first instance of the type is created.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0})">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},System.Net.Http.HttpClient)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="httpClient">The client to use when obtaining configuration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},Microsoft.IdentityModel.Protocols.IDocumentRetriever)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="docRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> that reaches out to obtain the configuration.</param>
<exception cref="T:System.ArgumentNullException">If 'metadataAddress' is null or empty.</exception>
<exception cref="T:System.ArgumentNullException">If 'configRetriever' is null.</exception>
<exception cref="T:System.ArgumentNullException">If 'docRetriever' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval">
<summary>
Gets or sets the <see cref="T:System.TimeSpan"/> that controls how often an automatic metadata refresh should occur.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval">
<summary>
The minimum time between retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync">
<summary>
Obtains an updated version of Configuration.
</summary>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel">CancellationToken</param>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh">
<summary>
Requests that then next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> obtain new configuration.
<para>If the last refresh was greater than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> then the next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will retrieve new configuration.</para>
<para>If <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> == <see cref="F:System.TimeSpan.MaxValue"/> then this method does nothing.</para>
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever">
<summary>
Reads a local file from the disk.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Reads a document using <see cref="T:System.IO.FileStream"/>.
</summary>
<param name="address">Fully qualified path to a file.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/> not used.</param>
<returns>UTF8 decoding of bytes in the file.</returns>
<exception cref="T:System.ArgumentNullException">If address is null or whitespace.</exception>
<exception cref="T:System.IO.IOException">with inner expection containing the original exception.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever">
<summary>
Retrieves metadata information using HttpClient.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor(System.Net.Http.HttpClient)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class with a specified httpClient.
</summary>
<param name="httpClient"><see cref="T:System.Net.Http.HttpClient"/></param>
<exception cref="T:System.ArgumentNullException">'httpClient' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.RequireHttps">
<summary>
Requires Https secure channel for sending requests.. This is turned ON by default for security reasons. It is RECOMMENDED that you do not allow retrieval from http addresses by default.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Returns a task which contains a string converted from remote document when completed, by using the provided address.
</summary>
<param name="address">Location of document</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/></param>
<returns>Document as a string</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationManager`1">
<summary>
Interface that defines a model for retrieving configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Retrieve the current configuration, refreshing and/or caching as needed.
This method will throw if the configuration cannot be retrieved, instead of returning null.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/></param>
<returns><see cref="T:System.Threading.Tasks.Task`1"/></returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.RequestRefresh">
<summary>
Indicate that the configuration may be stale (as indicated by failing to process incoming tokens).
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1">
<summary>
Interface that defines methods to retrieve configuration.
</summary>
<typeparam name="T">The type of the configuration metadata.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)">
<summary>
Retrieves a populated configuration given an address and an <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.
</summary>
<param name="address">Address of the discovery document.</param>
<param name="retriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> to use to read the discovery document.</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/>.</param>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever">
<summary>
Interface that defines a document retriever that returns the document as a string.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Obtains a document from an address.
</summary>
<param name="address">location of document.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>document as a string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1">
<summary>
This type is for users that want a fixed and static Configuration.
In this case, the configuration is obtained and passed to the constructor.
</summary>
<typeparam name="T">must be a class.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.#ctor(`0)">
<summary>
Initializes an new instance of <see cref="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1"/> with a Configuration instance.
</summary>
<param name="configuration">Configuration of type OpenIdConnectConfiguration or OpenIdConnectConfiguration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>Configuration of type T.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.RequestRefresh">
<summary>
For the this type, this is a no-op
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.LogMessages">
<summary>
Log messages and codes
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.X509CertificateValidationMode">
<summary>
Represents X509Certificate validation mode.
</summary>
</member>
</members>
</doc>

View file

@ -0,0 +1,310 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Protocols</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage">
<summary>
base class for authentication protocol messages.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.#ctor">
<summary>
Initializes a default instance of the <see cref="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildFormPost">
<summary>
Builds a form post using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>html with head set to 'Title', body containing a hiden from with action = IssuerAddress.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildRedirectUrl">
<summary>
Builds a Url using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>UrlEncoded string.</returns>
<remarks>Each parameter &lt;Key, Value&gt; is first transformed using <see cref="M:System.Uri.EscapeDataString(System.String)"/>.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.GetParameter(System.String)">
<summary>
Returns a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<returns>The value of the parameter or null if the parameter does not exists.</returns>
<exception cref="T:System.ArgumentNullException">If parameter is null</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.IssuerAddress">
<summary>
Gets or sets the issuer address.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.Parameters">
<summary>
Gets the message parameters as a Dictionary.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.PostTitle">
<summary>
Gets or sets the title used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.RemoveParameter(System.String)">
<summary>
Removes a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<exception cref="T:System.ArgumentNullException">If 'parameter' is null or empty.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameter(System.String,System.String)">
<summary>
Sets a parameter to the Parameters Dictionary.
</summary>
<param name="parameter">The parameter name.</param>
<param name="value">The value to be assigned to parameter.</param>
<exception cref="T:System.ArgumentNullException">If 'parameterName' is null or empty.</exception>
<remarks>If null is passed as value and the parameter exists, that parameter is removed.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameters(System.Collections.Specialized.NameValueCollection)">
<summary>
Sets a collection parameters.
</summary>
<param name="nameValueCollection"></param>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptButtonText">
<summary>
Gets or sets the script button text used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptDisabledText">
<summary>
Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1">
<summary>
Manages the retrieval of Configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultAutomaticRefreshInterval">
<summary>
1 day is the default time interval that afterwards, <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will obtain new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultRefreshInterval">
<summary>
30 seconds is the default time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain a new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumAutomaticRefreshInterval">
<summary>
5 minutes is the minimum value for automatic refresh. <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> can not be set less than this value.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumRefreshInterval">
<summary>
1 second is the minimum time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain new configuration.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#cctor">
<summary>
Static initializer for a new object. Static initializers run before the first instance of the type is created.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0})">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},System.Net.Http.HttpClient)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="httpClient">The client to use when obtaining configuration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},Microsoft.IdentityModel.Protocols.IDocumentRetriever)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="docRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> that reaches out to obtain the configuration.</param>
<exception cref="T:System.ArgumentNullException">If 'metadataAddress' is null or empty.</exception>
<exception cref="T:System.ArgumentNullException">If 'configRetriever' is null.</exception>
<exception cref="T:System.ArgumentNullException">If 'docRetriever' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval">
<summary>
Gets or sets the <see cref="T:System.TimeSpan"/> that controls how often an automatic metadata refresh should occur.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval">
<summary>
The minimum time between retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync">
<summary>
Obtains an updated version of Configuration.
</summary>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel">CancellationToken</param>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh">
<summary>
Requests that then next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> obtain new configuration.
<para>If the last refresh was greater than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> then the next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will retrieve new configuration.</para>
<para>If <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> == <see cref="F:System.TimeSpan.MaxValue"/> then this method does nothing.</para>
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever">
<summary>
Reads a local file from the disk.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Reads a document using <see cref="T:System.IO.FileStream"/>.
</summary>
<param name="address">Fully qualified path to a file.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/> not used.</param>
<returns>UTF8 decoding of bytes in the file.</returns>
<exception cref="T:System.ArgumentNullException">If address is null or whitespace.</exception>
<exception cref="T:System.IO.IOException">with inner expection containing the original exception.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever">
<summary>
Retrieves metadata information using HttpClient.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor(System.Net.Http.HttpClient)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class with a specified httpClient.
</summary>
<param name="httpClient"><see cref="T:System.Net.Http.HttpClient"/></param>
<exception cref="T:System.ArgumentNullException">'httpClient' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.RequireHttps">
<summary>
Requires Https secure channel for sending requests.. This is turned ON by default for security reasons. It is RECOMMENDED that you do not allow retrieval from http addresses by default.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Returns a task which contains a string converted from remote document when completed, by using the provided address.
</summary>
<param name="address">Location of document</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/></param>
<returns>Document as a string</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationManager`1">
<summary>
Interface that defines a model for retrieving configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Retrieve the current configuration, refreshing and/or caching as needed.
This method will throw if the configuration cannot be retrieved, instead of returning null.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/></param>
<returns><see cref="T:System.Threading.Tasks.Task`1"/></returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.RequestRefresh">
<summary>
Indicate that the configuration may be stale (as indicated by failing to process incoming tokens).
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1">
<summary>
Interface that defines methods to retrieve configuration.
</summary>
<typeparam name="T">The type of the configuration metadata.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)">
<summary>
Retrieves a populated configuration given an address and an <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.
</summary>
<param name="address">Address of the discovery document.</param>
<param name="retriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> to use to read the discovery document.</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/>.</param>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever">
<summary>
Interface that defines a document retriever that returns the document as a string.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Obtains a document from an address.
</summary>
<param name="address">location of document.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>document as a string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1">
<summary>
This type is for users that want a fixed and static Configuration.
In this case, the configuration is obtained and passed to the constructor.
</summary>
<typeparam name="T">must be a class.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.#ctor(`0)">
<summary>
Initializes an new instance of <see cref="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1"/> with a Configuration instance.
</summary>
<param name="configuration">Configuration of type OpenIdConnectConfiguration or OpenIdConnectConfiguration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>Configuration of type T.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.RequestRefresh">
<summary>
For the this type, this is a no-op
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.LogMessages">
<summary>
Log messages and codes
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.X509CertificateValidationMode">
<summary>
Represents X509Certificate validation mode.
</summary>
</member>
</members>
</doc>

View file

@ -0,0 +1,310 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.IdentityModel.Protocols</name>
</assembly>
<members>
<member name="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage">
<summary>
base class for authentication protocol messages.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.#ctor">
<summary>
Initializes a default instance of the <see cref="T:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildFormPost">
<summary>
Builds a form post using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>html with head set to 'Title', body containing a hiden from with action = IssuerAddress.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.BuildRedirectUrl">
<summary>
Builds a Url using the current IssuerAddress and the parameters that have been set.
</summary>
<returns>UrlEncoded string.</returns>
<remarks>Each parameter &lt;Key, Value&gt; is first transformed using <see cref="M:System.Uri.EscapeDataString(System.String)"/>.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.GetParameter(System.String)">
<summary>
Returns a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<returns>The value of the parameter or null if the parameter does not exists.</returns>
<exception cref="T:System.ArgumentNullException">If parameter is null</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.IssuerAddress">
<summary>
Gets or sets the issuer address.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.Parameters">
<summary>
Gets the message parameters as a Dictionary.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.PostTitle">
<summary>
Gets or sets the title used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.RemoveParameter(System.String)">
<summary>
Removes a parameter.
</summary>
<param name="parameter">The parameter name.</param>
<exception cref="T:System.ArgumentNullException">If 'parameter' is null or empty.</exception>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameter(System.String,System.String)">
<summary>
Sets a parameter to the Parameters Dictionary.
</summary>
<param name="parameter">The parameter name.</param>
<param name="value">The value to be assigned to parameter.</param>
<exception cref="T:System.ArgumentNullException">If 'parameterName' is null or empty.</exception>
<remarks>If null is passed as value and the parameter exists, that parameter is removed.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.SetParameters(System.Collections.Specialized.NameValueCollection)">
<summary>
Sets a collection parameters.
</summary>
<param name="nameValueCollection"></param>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptButtonText">
<summary>
Gets or sets the script button text used when constructing the post string.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage.ScriptDisabledText">
<summary>
Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled.
</summary>
<exception cref="T:System.ArgumentNullException">If the 'value' is null.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1">
<summary>
Manages the retrieval of Configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultAutomaticRefreshInterval">
<summary>
1 day is the default time interval that afterwards, <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will obtain new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.DefaultRefreshInterval">
<summary>
30 seconds is the default time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain a new configuration.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumAutomaticRefreshInterval">
<summary>
5 minutes is the minimum value for automatic refresh. <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> can not be set less than this value.
</summary>
</member>
<member name="F:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.MinimumRefreshInterval">
<summary>
1 second is the minimum time interval that must pass for <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh"/> to obtain new configuration.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#cctor">
<summary>
Static initializer for a new object. Static initializers run before the first instance of the type is created.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0})">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},System.Net.Http.HttpClient)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="httpClient">The client to use when obtaining configuration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.#ctor(System.String,Microsoft.IdentityModel.Protocols.IConfigurationRetriever{`0},Microsoft.IdentityModel.Protocols.IDocumentRetriever)">
<summary>
Instantiaties a new <see cref="T:Microsoft.IdentityModel.Protocols.ConfigurationManager`1"/> that manages automatic and controls refreshing on configuration data.
</summary>
<param name="metadataAddress">The address to obtain configuration.</param>
<param name="configRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1"/></param>
<param name="docRetriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> that reaches out to obtain the configuration.</param>
<exception cref="T:System.ArgumentNullException">If 'metadataAddress' is null or empty.</exception>
<exception cref="T:System.ArgumentNullException">If 'configRetriever' is null.</exception>
<exception cref="T:System.ArgumentNullException">If 'docRetriever' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval">
<summary>
Gets or sets the <see cref="T:System.TimeSpan"/> that controls how often an automatic metadata refresh should occur.
</summary>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval">
<summary>
The minimum time between retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync">
<summary>
Obtains an updated version of Configuration.
</summary>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel">CancellationToken</param>
<returns>Configuration of type T.</returns>
<remarks>If the time since the last call is less than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.AutomaticRefreshInterval"/> then <see cref="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)"/> is not called and the current Configuration is returned.</remarks>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RequestRefresh">
<summary>
Requests that then next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> obtain new configuration.
<para>If the last refresh was greater than <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> then the next call to <see cref="M:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync"/> will retrieve new configuration.</para>
<para>If <see cref="P:Microsoft.IdentityModel.Protocols.ConfigurationManager`1.RefreshInterval"/> == <see cref="F:System.TimeSpan.MaxValue"/> then this method does nothing.</para>
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever">
<summary>
Reads a local file from the disk.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.FileDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.FileDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Reads a document using <see cref="T:System.IO.FileStream"/>.
</summary>
<param name="address">Fully qualified path to a file.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/> not used.</param>
<returns>UTF8 decoding of bytes in the file.</returns>
<exception cref="T:System.ArgumentNullException">If address is null or whitespace.</exception>
<exception cref="T:System.IO.IOException">with inner expection containing the original exception.</exception>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever">
<summary>
Retrieves metadata information using HttpClient.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.#ctor(System.Net.Http.HttpClient)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever"/> class with a specified httpClient.
</summary>
<param name="httpClient"><see cref="T:System.Net.Http.HttpClient"/></param>
<exception cref="T:System.ArgumentNullException">'httpClient' is null.</exception>
</member>
<member name="P:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.RequireHttps">
<summary>
Requires Https secure channel for sending requests.. This is turned ON by default for security reasons. It is RECOMMENDED that you do not allow retrieval from http addresses by default.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Returns a task which contains a string converted from remote document when completed, by using the provided address.
</summary>
<param name="address">Location of document</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/></param>
<returns>Document as a string</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationManager`1">
<summary>
Interface that defines a model for retrieving configuration data.
</summary>
<typeparam name="T">The type of <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Retrieve the current configuration, refreshing and/or caching as needed.
This method will throw if the configuration cannot be retrieved, instead of returning null.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/></param>
<returns><see cref="T:System.Threading.Tasks.Task`1"/></returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationManager`1.RequestRefresh">
<summary>
Indicate that the configuration may be stale (as indicated by failing to process incoming tokens).
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1">
<summary>
Interface that defines methods to retrieve configuration.
</summary>
<typeparam name="T">The type of the configuration metadata.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IConfigurationRetriever`1.GetConfigurationAsync(System.String,Microsoft.IdentityModel.Protocols.IDocumentRetriever,System.Threading.CancellationToken)">
<summary>
Retrieves a populated configuration given an address and an <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/>.
</summary>
<param name="address">Address of the discovery document.</param>
<param name="retriever">The <see cref="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever"/> to use to read the discovery document.</param>
<param name="cancel">A cancellation token that can be used by other objects or threads to receive notice of cancellation. <see cref="T:System.Threading.CancellationToken"/>.</param>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.IDocumentRetriever">
<summary>
Interface that defines a document retriever that returns the document as a string.
</summary>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.IDocumentRetriever.GetDocumentAsync(System.String,System.Threading.CancellationToken)">
<summary>
Obtains a document from an address.
</summary>
<param name="address">location of document.</param>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>document as a string.</returns>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1">
<summary>
This type is for users that want a fixed and static Configuration.
In this case, the configuration is obtained and passed to the constructor.
</summary>
<typeparam name="T">must be a class.</typeparam>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.#ctor(`0)">
<summary>
Initializes an new instance of <see cref="T:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1"/> with a Configuration instance.
</summary>
<param name="configuration">Configuration of type OpenIdConnectConfiguration or OpenIdConnectConfiguration.</param>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.GetConfigurationAsync(System.Threading.CancellationToken)">
<summary>
Obtains an updated version of Configuration.
</summary>
<param name="cancel"><see cref="T:System.Threading.CancellationToken"/>.</param>
<returns>Configuration of type T.</returns>
</member>
<member name="M:Microsoft.IdentityModel.Protocols.StaticConfigurationManager`1.RequestRefresh">
<summary>
For the this type, this is a no-op
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.LogMessages">
<summary>
Log messages and codes
</summary>
</member>
<member name="T:Microsoft.IdentityModel.Protocols.X509CertificateValidationMode">
<summary>
Represents X509Certificate validation mode.
</summary>
</member>
</members>
</doc>

Binary file not shown.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more