Table of Contents

Class ReadErrorInspectorContext<TData>

Namespace
Fdyay.IdentityServer.Saml.Xml
Assembly
Fdyay.IdentityServer.Saml.dll

What an error inspector is handed when an inbound SAML message did not read cleanly. Duende 8.0.1's.

public class ReadErrorInspectorContext<TData>

Type Parameters

TData

The message read.

Inheritance
ReadErrorInspectorContext<TData>
Inherited Members

Remarks

See AuthnRequestErrorInspector. The inspector may remove an error from Errors, or set its Ignore, and the read completes if none is left standing.

Properties

Data

The message as far as it read; null when the document is not that message at all. Missing values read as empty, and a value that failed to convert as its default.

public TData? Data { get; set; }

Property Value

TData

Remarks

Ours: read back after the inspector returns, so an inspector fixes a value by setting a corrected message here — this server's message types are immutable, where Duende's are changed in place.

Errors

The errors found. The read fails on any left in this list that is not Ignored; assigning another list does not clear them, as it does not in Duende's.

public IList<Error> Errors { get; set; }

Property Value

IList<Error>

XmlSource

The message's root element, as received.

public XmlNode? XmlSource { get; set; }

Property Value

XmlNode