Compartir vía


Saml2SecurityTokenHandler.ResolveSecurityKeys Método

Definición

Resuelve la colección de SecurityKey a la que se hace referencia en 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

Saml2Assertion para procesar.

resolver
SecurityTokenResolver

SecurityTokenResolver que se usará para resolver los objetos SecurityKey.

Devoluciones

Colección de tipos SecurityKey que contiene las claves.

Excepciones

assertion es null.

El controlador no puede resolver las claves.

Se aplica a