Partage via


Saml2SecurityTokenHandler.ReadAuthenticationContext(XmlReader) Méthode

Définition

Lit l’élément <saml:AuthnContext>.

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

Paramètres

reader
XmlReader

XmlReader positionné au niveau de l'élément à lire.

Retours

Saml2AuthenticationContext qui représente l'élément AuthnContext lu.

Exceptions

reader a la valeur null.

Remarques

L’implémentation par défaut ne gère pas l’élément saml :AuthnContextDecl> facultatif<. Pour gérer les déclarations de contexte d’authentification par valeur, remplacez cette méthode.

S’applique à