Condividi tramite


Saml2SecurityTokenHandler.ResolveSecurityKeys Metodo

Definizione

Risolve la raccolta di SecurityKey di cui viene fatto riferimento in un oggetto 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)

Parametri

assertion
Saml2Assertion

Oggetto Saml2Assertion da elaborare.

resolver
SecurityTokenResolver

Oggetto SecurityTokenResolver da utilizzare nella risoluzione degli oggetti SecurityKey.

Restituisce

Raccolta del tipo SecurityKey che contiene le chiavi.

Eccezioni

assertion è null.

Il gestore non può risolvere le chiavi.

Si applica a