Class SecretWithheldReplayResponse

Assembly: redb.Identity.Contracts.dll

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

Inheritance

Object→SecretWithheldReplayResponse

Properties

Description

What happened, for a human reading the answer.

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

Replayed

Always true: this answer replays an operation already carried out.

[JsonPropertyName("replayed")]
public bool Replayed { get; init; }

SecretWithheld

Always true: the first answer carried a secret that is not shown again.

[JsonPropertyName("secretWithheld")]
public bool SecretWithheld { get; init; }