SamlSecurityTokenHandler.ProcessSamlSubject 方法

定义

从 SAML 1.1 主题中创建声明并将它们添加到指定主题。

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

参数

samlSubject
SamlSubject

SamlSubject 生成声明。

subject
ClaimsIdentity

向其添加声明的主题。

issuer
String

发行人。

例外

samlSubjectnull

适用于