SamlSecurityTokenHandler.ProcessAttributeStatement 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 SAML 1.1 屬性陳述式建立宣告,並將這些宣告新增至指定的主體。
protected:
virtual void ProcessAttributeStatement(System::IdentityModel::Tokens::SamlAttributeStatement ^ samlStatement, System::Security::Claims::ClaimsIdentity ^ subject, System::String ^ issuer);
protected virtual void ProcessAttributeStatement (System.IdentityModel.Tokens.SamlAttributeStatement samlStatement, System.Security.Claims.ClaimsIdentity subject, string issuer);
abstract member ProcessAttributeStatement : System.IdentityModel.Tokens.SamlAttributeStatement * System.Security.Claims.ClaimsIdentity * string -> unit
override this.ProcessAttributeStatement : System.IdentityModel.Tokens.SamlAttributeStatement * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub ProcessAttributeStatement (samlStatement As SamlAttributeStatement, subject As ClaimsIdentity, issuer As String)
參數
- samlStatement
- SamlAttributeStatement
SamlAttributeStatement,會從其中建立宣告。
- subject
- ClaimsIdentity
要加入宣告的主旨。
- issuer
- String
簽發者。
例外狀況
備註
建立的宣告會新增至主體。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應