Dela via


ClaimAction.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:
ClaimAction.cs
Source:
ClaimAction.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:
 abstract void Run(Newtonsoft::Json::Linq::JObject ^ userData, System::Security::Claims::ClaimsIdentity ^ identity, System::String ^ issuer);
public abstract void Run (Newtonsoft.Json.Linq.JObject userData, System.Security.Claims.ClaimsIdentity identity, string issuer);
abstract member Run : Newtonsoft.Json.Linq.JObject * System.Security.Claims.ClaimsIdentity * string -> unit
Public MustOverride 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:
ClaimAction.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:
 abstract void Run(System::Text::Json::JsonElement userData, System::Security::Claims::ClaimsIdentity ^ identity, System::String ^ issuer);
public abstract void Run (System.Text.Json.JsonElement userData, System.Security.Claims.ClaimsIdentity identity, string issuer);
abstract member Run : System.Text.Json.JsonElement * System.Security.Claims.ClaimsIdentity * string -> unit
Public MustOverride 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