共用方式為


Saml2SecurityTokenHandler.ProcessAuthenticationStatement 方法

定義

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

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

參數

statement
Saml2AuthenticationStatement

Saml2AuthenticationStatement,會從其中建立宣告。

subject
ClaimsIdentity

要加入宣告的主旨。

issuer
String

簽發者。

例外狀況

statementnull

-或-

subjectnull

適用於