Saml2SecurityTokenHandler.ReadAuthenticationContext(XmlReader) Metodo

Definizione

Legge l'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

Parametri

reader
XmlReader

Oggetto XmlReader posizionato in corrispondenza dell'elemento da leggere.

Valori restituiti

Oggetto Saml2AuthenticationContext che rappresenta l'elemento AuthnContext letto.

Eccezioni

reader è null.

Commenti

L'implementazione predefinita non gestisce l'elemento saml:AuthnContextDecl< facoltativo>. Per gestire le dichiarazioni di contesto di autenticazione in base al valore, eseguire l'override di questo metodo.

Si applica a