Saml2SecurityTokenHandler.ProcessAttributeStatement 方法

定义

从 SAML 2.0 特性语句中创建声明并将它们添加到指定主题。

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

参数

statement
Saml2AttributeStatement

Saml2AttributeStatement 生成声明。

subject
ClaimsIdentity

向其添加声明的主题。

issuer
String

发行人。

例外

statementnull

subjectnull

注解

创建的声明将添加到主题中。

适用于