Class UpdateClaimDefinitionRequest

Assembly: redb.Identity.Contracts.dll

S2 — admin update DTO. Null fields leave the existing stored value
unchanged (PATCH semantics). ClaimName + Scope + ApplicationId are
IMMUTABLE post-create — rename / re-scope = delete + re-create.

public sealed class UpdateClaimDefinitionRequest

Inheritance

Object→UpdateClaimDefinitionRequest

Properties

DefaultValue

[JsonPropertyName("defaultValue")]
public string? DefaultValue { get; set; }

Description

[JsonPropertyName("description")]
public string? Description { get; set; }

DisplayName

[JsonPropertyName("displayName")]
public string? DisplayName { get; set; }

EmitOnAccessToken

[JsonPropertyName("emitOnAccessToken")]
public bool? EmitOnAccessToken { get; set; }

EmitOnIdToken

[JsonPropertyName("emitOnIdToken")]
public bool? EmitOnIdToken { get; set; }

Id

[Required]
[JsonPropertyName("id")]
public long Id { get; set; }

Required

[JsonPropertyName("required")]
public bool? Required { get; set; }

Type

[JsonPropertyName("type")]
public string? Type { get; set; }

ValidationPattern

[JsonPropertyName("validationPattern")]
public string? ValidationPattern { get; set; }