Share via


UniqueJsonKeyClaimAction.Run Method

Definition

Overloads

Run(JObject, ClaimsIdentity, String)

Examine the given userData json, determine if the requisite data is present, and optionally add it as a new Claim on the ClaimsIdentity.

Run(JsonElement, ClaimsIdentity, String)

Examine the given userData JSON, determine if the requisite data is present, and optionally add it as a new Claim on the ClaimsIdentity.

Run(JObject, ClaimsIdentity, String)

Source:
UniqueJsonKeyClaimAction.cs
Source:
UniqueJsonKeyClaimAction.cs

Examine the given userData json, determine if the requisite data is present, and optionally add it as a new Claim on the ClaimsIdentity.

public:
 override void Run(Newtonsoft::Json::Linq::JObject ^ userData, System::Security::Claims::ClaimsIdentity ^ identity, System::String ^ issuer);
public override void Run (Newtonsoft.Json.Linq.JObject userData, System.Security.Claims.ClaimsIdentity identity, string issuer);
override this.Run : Newtonsoft.Json.Linq.JObject * System.Security.Claims.ClaimsIdentity * string -> unit
Public Overrides Sub Run (userData As JObject, identity As ClaimsIdentity, issuer As String)

Parameters

userData
Newtonsoft.Json.Linq.JObject

The source data to examine. This value may be null.

identity
ClaimsIdentity

The identity to add Claims to.

issuer
String

The value to use for Claim.Issuer when creating a Claim.

Applies to

Run(JsonElement, ClaimsIdentity, String)

Source:
UniqueJsonKeyClaimAction.cs
Source:
UniqueJsonKeyClaimAction.cs
Source:
UniqueJsonKeyClaimAction.cs
Source:
UniqueJsonKeyClaimAction.cs
Source:
UniqueJsonKeyClaimAction.cs
Source:
UniqueJsonKeyClaimAction.cs
Source:
UniqueJsonKeyClaimAction.cs

Examine the given userData JSON, determine if the requisite data is present, and optionally add it as a new Claim on the ClaimsIdentity.

public:
 override void Run(System::Text::Json::JsonElement userData, System::Security::Claims::ClaimsIdentity ^ identity, System::String ^ issuer);
public override void Run (System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer);
override this.Run : System.Text.Json.JsonElement * System.Security.Claims.ClaimsIdentity * string -> unit
Public Overrides Sub Run (userData As JsonElement, identity As ClaimsIdentity, issuer As String)

Parameters

userData
JsonElement

The source data to examine. This value may be null.

identity
ClaimsIdentity

The identity to add Claims to.

issuer
String

The value to use for Claim.Issuer when creating a Claim.

Applies to