Saml2SecurityTokenHandler.ProcessSamlSubject Method

Definition

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

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)

Parameters

assertionSubject
Saml2Subject

The Saml2Subject 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-

assertionSubject is null.

Applies to