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

适用于