hashbrown

Hashbrown.AspNetCore · C# API reference

Hashbrown.AspNetCore.NativeApprovalEvidence

Upcoming 0.1.0-preview.2 · Unreleased

public sealed class NativeApprovalEvidence

Current journal-owned approval authority materialized under a current lease.

Members

NativeApprovalEvidence

public NativeApprovalEvidence(string sessionKeyId, string compatibilityId, string catalogIdentity, Hashbrown.AspNetCore.NativeSessionLease currentOwner, Hashbrown.AspNetCore.NativeBoundApprovalBatch batch, long publishedRevision, Hashbrown.AspNetCore.NativeApprovalState state, System.Collections.Generic.IReadOnlyList<Hashbrown.AspNetCore.NativeApprovalDecision> decisions, long? admittedGeneration, long? admittedRevision, System.DateTimeOffset expiresAt);

Copies immutable owned evidence; persistence rechecks every authority field.

AdmittedGeneration

public long? AdmittedGeneration { get; }

Generation consuming the complete batch.

AdmittedRevision

public long? AdmittedRevision { get; }

Revision consuming the complete batch.

Batch

public Hashbrown.AspNetCore.NativeBoundApprovalBatch Batch { get; }

Original published native batch and public positions.

CatalogIdentity

public string CatalogIdentity { get; }

Registered server catalog identity.

CompatibilityId

public string CompatibilityId { get; }

Journal-bound immutable compatibility identity.

CurrentOwner

public Hashbrown.AspNetCore.NativeSessionLease CurrentOwner { get; }

Current acquired owner; capture-owner provenance remains in durable rows.

Decisions

public System.Collections.Generic.IReadOnlyList<Hashbrown.AspNetCore.NativeApprovalDecision> Decisions { get; }

Durably consumed decisions, if any.

ExpiresAt

public System.DateTimeOffset ExpiresAt { get; }

DB-clock expiry, never a client timestamp.

PublishedRevision

public long PublishedRevision { get; }

Pending save revision associated with original publication.

SessionKeyId

public string SessionKeyId { get; }

Complete trusted native key digest.

State

public Hashbrown.AspNetCore.NativeApprovalState State { get; }

Journal-owned batch lifecycle state.