SamlSecurityTokenHandler.ResolveIssuerToken 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 Signing Key Identifier解析为 SecurityToken。
protected:
virtual System::IdentityModel::Tokens::SecurityToken ^ ResolveIssuerToken(System::IdentityModel::Tokens::SamlAssertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ issuerResolver);
protected virtual System.IdentityModel.Tokens.SecurityToken ResolveIssuerToken (System.IdentityModel.Tokens.SamlAssertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver issuerResolver);
abstract member ResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
override this.ResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
Protected Overridable Function ResolveIssuerToken (assertion As SamlAssertion, issuerResolver As SecurityTokenResolver) As SecurityToken
参数
- assertion
- SamlAssertion
解析颁布者令牌所应用的 SamlAssertion。
- issuerResolver
- SecurityTokenResolver
当前与该处理程序关联的 SecurityTokenResolver。
返回
一个 SecurityToken 表示解析的安全令牌。
例外
assertion
为 null
。
处理程序不能解析标识。