Path: redb-identity/src/redb.Identity.Contracts/Common/SecretWithheldReplayResponse.cs Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Contracts/Common/SecretWithheldReplayResponse.cs ---- using System.Text.Json.Serialization; namespace redb.Identity.Contracts.Common; /// /// The answer to a repeated request with an Idempotency-Key whose first answer carried a one-time /// secret (a member marked ). The operation is not carried out again and /// the secret is not shown again: it is not kept anywhere it could be shown from. The status code is the /// one of the first answer, and the Idempotency-Replayed: true header is set as on every replay. /// A client that lost the first answer rotates the secret again (or, for a created resource, reads the /// resource and rotates its secret). /// public sealed class SecretWithheldReplayResponse { /// Always true: this answer replays an operation already carried out. [JsonPropertyName("replayed")] public bool Replayed { get; init; } = true; /// Always true: the first answer carried a secret that is not shown again. [JsonPropertyName("secretWithheld")] public bool SecretWithheld { get; init; } = true; /// What happened, for a human reading the answer. [JsonPropertyName("description")] public string Description { get; init; } = "The operation was already carried out for this Idempotency-Key. Its answer carried a secret that is shown only once, so it is not shown again."; }