Partager via


SamlSecurityTokenHandler.ProcessSubject Method

Definition

Creates subject claims from the SamlSubject.

protected virtual void ProcessSubject (Microsoft.IdentityModel.Tokens.Saml.SamlSubject subject, System.Security.Claims.ClaimsIdentity identity, string issuer);
abstract member ProcessSubject : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * System.Security.Claims.ClaimsIdentity * string -> unit
override this.ProcessSubject : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub ProcessSubject (subject As SamlSubject, identity As ClaimsIdentity, issuer As String)

Parameters

subject
SamlSubject

The SamlSubject.

identity
ClaimsIdentity

The ClaimsIdentity subject.

issuer
String

The issuer.

Exceptions

if identity is null.

if the SamlSubject doesn't have the name or confirmation methonds.

Applies to