Прочетете на английски Редактиране

Споделяне чрез


Saml2SecurityTokenHandler.ReadNameIdType(XmlReader) Method

Definition

Both <Issuer> and <NameID> are of NameIDType. This method reads the content of either one of those elements.

C#
protected virtual System.IdentityModel.Tokens.Saml2NameIdentifier ReadNameIdType(System.Xml.XmlReader reader);

Parameters

reader
XmlReader

An XmlReader positioned at NameID type.

Returns

A Saml2NameIdentifier constructed from the XML.

Exceptions

reader is null.

Applies to

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1