Share via


MapAllClaimsAction Class

Definition

A ClaimAction that selects all top level values from the json user data and adds them as Claims. This excludes duplicate sets of names and values.

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

Constructors

MapAllClaimsAction()

Initializes a new instance of MapAllClaimsAction.

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)
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