Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Duende.​IdentityServer.​Saml.​Serialization.​ISamlXmlReader

Assembly: Duende.IdentityServer

Reader for Saml classes from Xml

Properties

Allowed hash algorithms if validating signatures. Values should be e.g. "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" which is compared to the algorithm identifier Url.
Signing keys to trust when validating signatures of the metadata. In addition to these, the signing keys configured for a known issuer are considered. This property is mostly useful for validation of signed metadata.
Called when information about a Saml entity is needed, e.g. to get the signing keys configured for an entity.

Methods

Returns EntityDescriptor
source Xml Traverser to read from
ct Cancellation token
Returns EntityDescriptor
source Xml Traverser to read from
errorInspector Callback that can inspect and alter errors before throwing
ct Cancellation token
Returns SamlResponse
source Xml Traverser to read from
ct Cancellation token
Returns SamlResponse
source Xml Traverser to read from
errorInspector Callback that can inspect and alter errors before throwing
ct Cancellation token
ReadAssertionAsync​(Xml.​XmlTraverser source, System.​Threading.​CancellationToken ct)
Read an <see cref="T:Duende.IdentityServer.Saml.Assertion" />
Returns <see cref="T:Duende.IdentityServer.Saml.Assertion" />
source Xml Traverser to read from
ct Cancellation token
ReadAssertionAsync​(Xml.​XmlTraverser source, System.​Action<​Xml.​ReadErrorInspectorContext<​Assertion>> errorInspector, System.​Threading.​CancellationToken ct)
Read an <see cref="T:Duende.IdentityServer.Saml.Assertion" />
Returns <see cref="T:Duende.IdentityServer.Saml.Assertion" />
source Xml Traverser to read from
errorInspector Callback that can inspect and alter errors before throwing
ct Cancellation token
ReadAuthnRequestAsync​(Xml.​XmlTraverser source, System.​Action?<​Xml.​ReadErrorInspectorContext<​Samlp.​AuthnRequest>> errorInspector, System.​Threading.​CancellationToken ct)
Read an <see cref="T:Duende.IdentityServer.Saml.Samlp.AuthnRequest" />
Returns <see cref="T:Duende.IdentityServer.Saml.Samlp.AuthnRequest" />
source Xml Traverser to read from
errorInspector Optional callback that can inspect and alter errors before throwing
ct Cancellation token
ReadLogoutRequestAsync​(Xml.​XmlTraverser source, System.​Action?<​Xml.​ReadErrorInspectorContext<​Samlp.​LogoutRequest>> errorInspector, System.​Threading.​CancellationToken ct)
Read a <see cref="T:Duende.IdentityServer.Saml.Samlp.LogoutRequest" />
Returns <see cref="T:Duende.IdentityServer.Saml.Samlp.LogoutRequest" />
source Xml Traverser to read from
errorInspector Optional callback that can inspect and alter errors before throwing
ct Cancellation token
ReadLogoutResponseAsync​(Xml.​XmlTraverser source, System.​Action?<​Xml.​ReadErrorInspectorContext<​Samlp.​LogoutResponse>> errorInspector, System.​Threading.​CancellationToken ct)
Read a <see cref="T:Duende.IdentityServer.Saml.Samlp.LogoutResponse" />
Returns <see cref="T:Duende.IdentityServer.Saml.Samlp.LogoutResponse" />
source Xml Traverser to read from
errorInspector Optional callback that can inspect and alter errors before throwing
ct Cancellation token