Bagikan melalui


Saml2SecurityTokenHandler.ResolveSecurityKeys Metode

Definisi

Menyelesaikan kumpulan yang SecurityKey dirujuk dalam Saml2Assertion.

protected:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ ResolveSecurityKeys(System::IdentityModel::Tokens::Saml2Assertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ resolver);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> ResolveSecurityKeys (System.IdentityModel.Tokens.Saml2Assertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver resolver);
abstract member ResolveSecurityKeys : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>
override this.ResolveSecurityKeys : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>
Protected Overridable Function ResolveSecurityKeys (assertion As Saml2Assertion, resolver As SecurityTokenResolver) As ReadOnlyCollection(Of SecurityKey)

Parameter

assertion
Saml2Assertion

yang akan diproses Saml2Assertion .

resolver
SecurityTokenResolver

yang SecurityTokenResolver digunakan dalam menyelesaikan SecurityKey objek.

Mengembalikan

Kumpulan jenis SecurityKey yang berisi kunci.

Pengecualian

assertionadalah null.

Handler tidak dapat menyelesaikan kunci.

Berlaku untuk