共用方式為


SamlSecurityTokenHandler.ProcessAuthenticationStatement 方法

定義

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

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

參數

samlStatement
SamlAuthenticationStatement

SamlAuthenticationStatement,會從其中建立宣告。

subject
ClaimsIdentity

要加入宣告的主旨。

issuer
String

簽發者。

例外狀況

samlStatementnull

-或-

subjectnull

適用於