Dela via


ClaimAction Class

Definition

Infrastructure for mapping user data from a json structure to claims on the ClaimsIdentity.

public ref class ClaimAction abstract
public abstract class ClaimAction
type ClaimAction = class
Public MustInherit Class ClaimAction
Inheritance
ClaimAction
Derived

Constructors

ClaimAction(String, String)

Create a new claim manipulation action.

Properties

ClaimType

Gets the value to use for Valuewhen creating a Claim.

ValueType

Gets the value to use for ValueType when creating a Claim.

Methods

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.

Applies to