Class SessionRevokePreview

Assembly: redb.Identity.Contracts.dll

The answer of revoking all sessions of a user with dryRun: how many would be revoked and the ids of the
first of them. Nothing is revoked.

public sealed class SessionRevokePreview

Inheritance

Object→SessionRevokePreview

Properties

DryRun

Always true: this is the preview, not the revocation.

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

SampleSessionIds

[JsonPropertyName("sampleSessionIds")]
public required IReadOnlyList<long> SampleSessionIds { get; init; }

Success

Always true.

[JsonPropertyName("success")]
public bool Success { get; }

WouldRevoke

[JsonPropertyName("wouldRevoke")]
public required int WouldRevoke { get; init; }