DeleteClaimAction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for