Saml2SecurityTokenHandler.ReadAuthenticationContext(XmlReader) Metoda

Definicja

Odczytuje <element 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

Parametry

reader
XmlReader

Element XmlReader umieszczony w celu odczytania.

Zwraca

Element Saml2AuthenticationContext reprezentujący element AuthnContext, który jest odczytywany.

Wyjątki

reader to null.

Uwagi

Implementacja domyślna nie obsługuje opcjonalnego <elementu saml:AuthnContextDecl> . Aby obsłużyć deklaracje kontekstowe uwierzytelniania według wartości, zastąpij tę metodę.

Dotyczy