Saml2SecurityTokenHandler.ProcessAuthenticationStatement 方法

定义

从 SAML 2.0 身份验证语句中创建声明并将它们添加到指定主题。

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

参数

subject
ClaimsIdentity

向其添加声明的主题。

issuer
String

发行人。

例外

statementnull

subjectnull

适用于