Redigera

Dela via


SamlSecurityTokenHandler.ProcessAuthenticationStatement Method

Definition

Creates claims from a SAML 1.1 authentication statement and adds them to the specified subject.

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

Parameters

samlStatement
SamlAuthenticationStatement

The SamlAuthenticationStatement from which the claims are created.

subject
ClaimsIdentity

The subject to which the claims are added.

issuer
String

The issuer.

Exceptions

samlStatement is null.

-or-

subject is null.

Applies to