Class ClaimDefinitionResponse

Assembly: redb.Identity.Contracts.dll

S2 — admin read DTO for a claim definition. See
redb.Identity.Core.Models.ClaimDefinitionProps for the schema
rationale and the three-mechanism overview (mappers + per-user storage +
definitions).

public sealed class ClaimDefinitionResponse

Inheritance

Object→ClaimDefinitionResponse

Properties

ApplicationId

[JsonPropertyName("applicationId")]
public long? ApplicationId { get; set; }

ClaimName

[JsonPropertyName("claimName")]
public string ClaimName { get; set; }

CreatedAt

[JsonPropertyName("createdAt")]
public DateTimeOffset CreatedAt { get; set; }

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

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

ModifiedAt

[JsonPropertyName("modifiedAt")]
public DateTimeOffset ModifiedAt { get; set; }

Required

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

Scope

[JsonPropertyName("scope")]
public string Scope { get; set; }

Type

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

ValidationPattern

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