Saml2SecurityTokenHandler.ResolveIssuerToken 方法

定义

将 Signing Key Identifier解析为 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

参数

assertion
Saml2Assertion

解析颁布者令牌所应用的 Saml2Assertion

issuerResolver
SecurityTokenResolver

当前与该处理程序关联的 SecurityTokenResolver

返回

一个 SecurityToken 表示解析的安全令牌。

例外

assertionnull

处理程序不能解析标识。

适用于