Saml2SecurityTokenHandler.ProcessSamlSubject 方法

定义

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

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

参数

assertionSubject
Saml2Subject

Saml2Subject 生成声明。

subject
ClaimsIdentity

向其添加声明的主题。

issuer
String

发行人。

例外

statementnull

assertionSubjectnull

适用于