Table of Contents

Class MailboxMutationAuditTrailReader

Namespace
MailFathom.Application.Mail.Mutations.Audit
Assembly
MailFathom.Application.dll

Reads one account's record of the changes MailFathom made to its mailbox, for whoever may read it.

public sealed class MailboxMutationAuditTrailReader
Inheritance
MailboxMutationAuditTrailReader
Inherited Members

Remarks

The store keeps the trail and answers every writer of it, including the mutation paths that append to it while a run is under way. This is the use case reading it on somebody's behalf, and it exists so that the grant is asked where the reading is rather than only at the route that happens to serve it today: what the trail says is where a person's mail has been, when, and at whose instruction, so an entrypoint added later must not be able to publish it by forgetting a filter.

It narrows nothing of its own. The query the caller composed already bounds the page and names the account, and a second opinion here would be a bound nobody could see from the caller's side.

Constructors

MailboxMutationAuditTrailReader(IMailboxMutationAuditEntryStore, AccessAuthorization)

Initializes the reading over the trail's store.

Methods

ReadPageAsync(MailboxMutationAuditQuery, CancellationToken)

Reads one page of an account's audit trail.