共用方式為


SamlSecurityTokenHandler.ProcessSamlSubject 方法

定義

從 SAML 1.1 主體建立宣告,並將這些宣告新增至指定的主體。

protected:
 virtual void ProcessSamlSubject(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::Security::Claims::ClaimsIdentity ^ subject, System::String ^ issuer);
protected virtual void ProcessSamlSubject (System.IdentityModel.Tokens.SamlSubject samlSubject, System.Security.Claims.ClaimsIdentity subject, string issuer);
abstract member ProcessSamlSubject : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.ClaimsIdentity * string -> unit
override this.ProcessSamlSubject : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub ProcessSamlSubject (samlSubject As SamlSubject, subject As ClaimsIdentity, issuer As String)

參數

samlSubject
SamlSubject

SamlSubject,會從其中建立宣告。

subject
ClaimsIdentity

要加入宣告的主旨。

issuer
String

簽發者。

例外狀況

samlSubjectnull

適用於