共用方式為


Saml2SecurityTokenHandler.ProcessSamlSubject 方法

定義

從 SAML 2.0 主題建立宣告,並將這些宣告加入至指定的主題。

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

參數

assertionSubject
Saml2Subject

Saml2Subject,會從其中建立宣告。

subject
ClaimsIdentity

要加入宣告的主旨。

issuer
String

簽發者。

例外狀況

statementnull

-或-

assertionSubjectnull

適用於