DeleteClaimAction Class

Definition

A ClaimAction that deletes all claims from the given ClaimsIdentity with the given ClaimType.

public ref class DeleteClaimAction : Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimAction
public class DeleteClaimAction : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction
type DeleteClaimAction = class
    inherit ClaimAction
Public Class DeleteClaimAction
Inherits ClaimAction
Inheritance
DeleteClaimAction

Constructors

DeleteClaimAction(String)

Creates a new DeleteClaimAction.

Properties

ClaimType

Gets the value to use for Valuewhen creating a Claim.

(Inherited from ClaimAction)
ValueType

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

(Inherited from ClaimAction)

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(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.

(Inherited from ClaimAction)
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(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.

(Inherited from ClaimAction)

Applies to