SamlSecurityTokenHandler.ReadSubject(XmlReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the <saml:Subject> element.
protected:
virtual System::IdentityModel::Tokens::SamlSubject ^ ReadSubject(System::Xml::XmlReader ^ reader);
protected virtual System.IdentityModel.Tokens.SamlSubject ReadSubject (System.Xml.XmlReader reader);
abstract member ReadSubject : System.Xml.XmlReader -> System.IdentityModel.Tokens.SamlSubject
override this.ReadSubject : System.Xml.XmlReader -> System.IdentityModel.Tokens.SamlSubject
Protected Overridable Function ReadSubject (reader As XmlReader) As SamlSubject
Parameters
Returns
A SamlSubject that represents the Subject element that was read.
Exceptions
reader
is null
.
Remarks
The default implementation does not handle the optional <EncryptedID> element. To handle encrypted IDs in the Subject, override this method.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.