Saml2SecurityTokenHandler.TryResolveIssuerToken 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 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
。