Redigera

Dela via


Saml2SecurityTokenHandler.ReadAudienceRestriction(XmlReader) Method

Definition

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

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

Parameters

reader
XmlReader

An XmlReader positioned at the element to read.

Returns

A Saml2AudienceRestriction that represents the element that was read.

Exceptions

reader is null.

Applies to