共用方式為


Saml2SecurityTokenHandler.ResolveIssuerToken 方法

定義

將簽署金鑰識別碼解析為 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

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

適用於