Bagikan melalui


SamlSerializer.LoadConditions Metode

Definisi

Membaca serangkaian kondisi yang harus dipertimbangkan saat menilai validitas pernyataan SAML menggunakan pembaca XML yang ditentukan.

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

Parameter

reader
XmlDictionaryReader

XmlDictionaryReader Untuk membaca kondisi SAML.

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer yang membaca klausa KeyInfo tanda tangan digital.

outOfBandTokenResolver
SecurityTokenResolver

SecurityTokenResolver yang menentukan token keamanan yang membuat tanda tangan digital.

Mengembalikan

SamlConditions yang menentukan serangkaian kondisi yang harus dipertanyakan saat menilai validitas pernyataan SAML.

Pengecualian

readeradalah null.

Keterangan

Metode membaca LoadConditions konten <saml:Conditions> elemen .

Berlaku untuk

Lihat juga