Class TokenPrunePreview

Assembly: redb.Identity.Contracts.dll

The answer of a token prune asked as a dry run: what a prune would remove now, with nothing removed.

public sealed class TokenPrunePreview

Inheritance

Object→TokenPrunePreview

Properties

DryRun

Always true: marks the answer as a preview.

[JsonPropertyName("dryRun")]
public bool DryRun { get; init; }

Threshold

Tokens created before this moment are past the retention window.

[JsonPropertyName("threshold")]
public DateTimeOffset Threshold { get; init; }

WouldPruneAuthorizations

Authorizations a prune would remove.

[JsonPropertyName("wouldPruneAuthorizations")]
public int WouldPruneAuthorizations { get; init; }

WouldPruneTokens

Tokens a prune would remove.

[JsonPropertyName("wouldPruneTokens")]
public int WouldPruneTokens { get; init; }