Interface ISamlSchemaValidator
Validates XML against the SAML XML schemas.
Namespace: ComponentSpace.Saml2.Utility
Assembly: ComponentSpace.Saml2.dll
Syntax
public interface ISamlSchemaValidator
Properties
Errors
Gets the list of XML schema errors.
Declaration
IList<string> Errors { get; }
Property Value
| Type | Description |
|---|---|
| IList<string> | The list of XML schema errors. |
Warnings
Gets the list of XML schema warnings.
Declaration
IList<string> Warnings { get; }
Property Value
| Type | Description |
|---|---|
| IList<string> | The list of XML schema warnings. |
Methods
Validate(XmlElement)
Validates the XML against the SAML XML schemas
Declaration
bool Validate(XmlElement xmlElement)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlElement | xmlElement | The XML to validate. |
Returns
| Type | Description |
|---|---|
| bool |
|
Exceptions
| Type | Condition |
|---|---|
| SamlSchemaValidationException | Thrown when the attempt to perform SAML XML schema validation fails. |