Saml2Serializer.ReadAudienceRestriction(XmlDictionaryReader) Method

Definition

Reads the <saml:AudienceRestriction> element or a <saml:Condition> element that specifies an xsi:type of saml:AudienceRestrictionType.

protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2AudienceRestriction ReadAudienceRestriction (System.Xml.XmlDictionaryReader reader);
abstract member ReadAudienceRestriction : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AudienceRestriction
override this.ReadAudienceRestriction : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AudienceRestriction
Protected Overridable Function ReadAudienceRestriction (reader As XmlDictionaryReader) As Saml2AudienceRestriction

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a Saml2AudienceRestriction element.

Returns

A Saml2AudienceRestriction instance.

Applies to