Condividi tramite


Saml2SecurityTokenHandler.ResolveIssuerToken Metodo

Definizione

Risolve l'identificatore della chiave di firma in un SecurityToken.

protected:
 virtual System::IdentityModel::Tokens::SecurityToken ^ ResolveIssuerToken(System::IdentityModel::Tokens::Saml2Assertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ issuerResolver);
protected virtual System.IdentityModel.Tokens.SecurityToken ResolveIssuerToken (System.IdentityModel.Tokens.Saml2Assertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver issuerResolver);
abstract member ResolveIssuerToken : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
override this.ResolveIssuerToken : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
Protected Overridable Function ResolveIssuerToken (assertion As Saml2Assertion, issuerResolver As SecurityTokenResolver) As SecurityToken

Parametri

assertion
Saml2Assertion

Oggetto Saml2Assertion per cui risolvere il token dell'autorità emittente.

issuerResolver
SecurityTokenResolver

L'oggetto SecurityTokenResolver corrente associato al gestore.

Restituisce

Oggetto SecurityToken che rappresenta il token risolto.

Eccezioni

assertion è null.

Il gestore non può risolvere il token.

Si applica a