Saml2SecurityTokenHandler.TryResolveIssuerToken 方法

定义

将 Signing Key Identifier解析为 SecurityToken。

protected:
 virtual bool TryResolveIssuerToken(System::IdentityModel::Tokens::Saml2Assertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ issuerResolver, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityToken ^ % token);
protected virtual bool TryResolveIssuerToken (System.IdentityModel.Tokens.Saml2Assertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver issuerResolver, out System.IdentityModel.Tokens.SecurityToken token);
abstract member TryResolveIssuerToken : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver * SecurityToken -> bool
override this.TryResolveIssuerToken : System.IdentityModel.Tokens.Saml2Assertion * System.IdentityModel.Selectors.SecurityTokenResolver * SecurityToken -> bool
Protected Overridable Function TryResolveIssuerToken (assertion As Saml2Assertion, issuerResolver As SecurityTokenResolver, ByRef token As SecurityToken) As Boolean

参数

assertion
Saml2Assertion

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

issuerResolver
SecurityTokenResolver

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

token
SecurityToken

当此方法返回时,如果解析标记成功,则包含已解析的安全标记。

返回

如果标记已解决,则为 true

适用于