SamlSerializer.LoadConditions Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Odczytuje zestaw warunków, które należy wziąć pod uwagę podczas oceny ważności potwierdzenia SAML przy użyciu określonego czytnika XML.
public:
virtual System::IdentityModel::Tokens::SamlConditions ^ LoadConditions(System::Xml::XmlDictionaryReader ^ reader, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer, System::IdentityModel::Selectors::SecurityTokenResolver ^ outOfBandTokenResolver);
public virtual System.IdentityModel.Tokens.SamlConditions LoadConditions (System.Xml.XmlDictionaryReader reader, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer, System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver);
abstract member LoadConditions : System.Xml.XmlDictionaryReader * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SamlConditions
override this.LoadConditions : System.Xml.XmlDictionaryReader * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SamlConditions
Public Overridable Function LoadConditions (reader As XmlDictionaryReader, keyInfoSerializer As SecurityTokenSerializer, outOfBandTokenResolver As SecurityTokenResolver) As SamlConditions
Parametry
- reader
- XmlDictionaryReader
Element do XmlDictionaryReader odczytania warunków SAML.
- keyInfoSerializer
- SecurityTokenSerializer
Element SecurityTokenSerializer , który odczytuje klauzulę KeyInfo podpisu cyfrowego.
- outOfBandTokenResolver
- SecurityTokenResolver
Element SecurityTokenResolver określający token zabezpieczający, który utworzył podpis cyfrowy.
Zwraca
Element SamlConditions określający zestaw warunków, które należy wziąć pod uwagę podczas oceny ważności potwierdzenia SAML.
Wyjątki
reader to null.
Uwagi
Metoda LoadConditions odczytuje zawartość <saml:Conditions> elementu.