Reads a SAML statement using the specified XML reader.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
public virtual SamlStatement LoadStatement( XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver )
- Type: System.IdentityModel.Selectors.SecurityTokenSerializer
A SecurityTokenSerializer that reads the KeyInfo clause of the digital signature.
- Type: System.IdentityModel.Selectors.SecurityTokenResolver
A SecurityTokenResolver that determines the security token that created the digital signature.
SamlSecurityToken security tokens specify their claims using SAML assertions where the details of the claims are specified in SAML statements. The SAML specification defines the following statement types:
The method reads the SAML statements listed previously. When custom statements are defined and used by an application, create a serializer to read the contents of them. To create the custom serializer, derive a class from SamlSerializer and override the method. Custom SAML statements are contained within a <saml:Statement> element.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.