Saml2SecurityTokenHandler.ReadAuthenticationContext(XmlReader) Método

Definição

Lê o <elemento 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

Parâmetros

reader
XmlReader

Um XmlReader posicionado no elemento a ser lido.

Retornos

Um Saml2AuthenticationContext que representa o elemento AuthnContext que é lido.

Exceções

reader é null.

Comentários

A implementação padrão não manipula o <elemento opcional saml:AuthnContextDecl> . Para lidar com declarações de contexto de autenticação por valor, substitua esse método.

Aplica-se a