共用方式為


Saml2SecurityTokenHandler.ProcessStatement 方法

定義

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

protected:
 virtual void ProcessStatement(System::Collections::ObjectModel::Collection<System::IdentityModel::Tokens::Saml2Statement ^> ^ statements, System::Security::Claims::ClaimsIdentity ^ subject, System::String ^ issuer);
protected virtual void ProcessStatement (System.Collections.ObjectModel.Collection<System.IdentityModel.Tokens.Saml2Statement> statements, System.Security.Claims.ClaimsIdentity subject, string issuer);
abstract member ProcessStatement : System.Collections.ObjectModel.Collection<System.IdentityModel.Tokens.Saml2Statement> * System.Security.Claims.ClaimsIdentity * string -> unit
override this.ProcessStatement : System.Collections.ObjectModel.Collection<System.IdentityModel.Tokens.Saml2Statement> * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub ProcessStatement (statements As Collection(Of Saml2Statement), subject As ClaimsIdentity, issuer As String)

參數

statements
Collection<Saml2Statement>

建立宣告之來源 Saml2Statement 的集合。

subject
ClaimsIdentity

要加入宣告的主旨。

issuer
String

簽發者。

例外狀況

subjectnull

適用於