Compartilhar via


Saml2SecurityTokenHandler.ResolveSecurityKeys Método

Definição

Resolve a coleção de SecurityKey referenciada em uma 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)

Parâmetros

assertion
Saml2Assertion

O Saml2Assertion a processar.

resolver
SecurityTokenResolver

O SecurityTokenResolver a ser usado na resolução dos objetos SecurityKey.

Retornos

Uma coleção do tipo SecurityKey que contém as chaves.

Exceções

assertion é null.

O manipulador não é capaz de resolver as chaves.

Aplica-se a