共用方式為


SamlSecurityTokenHandler.ResolveIssuerToken 方法

定義

將簽署金鑰識別碼解析為 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,表示解析的權杖。

例外狀況

assertionnull

這個處理常式無法解析語彙基元。

適用於