Saml2SecurityTokenHandler.ProcessAuthenticationStatement Method

Definition

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

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)

Parameters

statement
Saml2AuthenticationStatement

The Saml2AuthenticationStatement from which the claims are created.

subject
ClaimsIdentity

The subject to which the claims are added.

issuer
String

The issuer.

Exceptions

statement is null.

-or-

subject is null.

Applies to