SamlSecurityTokenHandler.TryResolveIssuerToken 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將簽署金鑰識別碼解析為 SecurityToken。
protected:
virtual bool TryResolveIssuerToken(System::IdentityModel::Tokens::SamlAssertion ^ assertion, System::IdentityModel::Selectors::SecurityTokenResolver ^ issuerResolver, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityToken ^ % token);
protected virtual bool TryResolveIssuerToken (System.IdentityModel.Tokens.SamlAssertion assertion, System.IdentityModel.Selectors.SecurityTokenResolver issuerResolver, out System.IdentityModel.Tokens.SecurityToken token);
abstract member TryResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver * SecurityToken -> bool
override this.TryResolveIssuerToken : System.IdentityModel.Tokens.SamlAssertion * System.IdentityModel.Selectors.SecurityTokenResolver * SecurityToken -> bool
Protected Overridable Function TryResolveIssuerToken (assertion As SamlAssertion, issuerResolver As SecurityTokenResolver, ByRef token As SecurityToken) As Boolean
參數
- assertion
- SamlAssertion
要為其解析簽發者權杖的 SamlAssertion。
- issuerResolver
- SecurityTokenResolver
與這個處理常式相關聯的目前 SecurityTokenResolver。
- token
- SecurityToken
這個方法傳回時,如果已成功解析權杖,會包含已解析的安全性權杖。
傳回
如果權杖已解析則為 true
。