TicketFlow.Contacts
0.1.0-alpha.4.1
dotnet add package TicketFlow.Contacts --version 0.1.0-alpha.4.1
NuGet\Install-Package TicketFlow.Contacts -Version 0.1.0-alpha.4.1
<PackageReference Include="TicketFlow.Contacts" Version="0.1.0-alpha.4.1" />
<PackageVersion Include="TicketFlow.Contacts" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.Contacts" />
paket add TicketFlow.Contacts --version 0.1.0-alpha.4.1
#r "nuget: TicketFlow.Contacts, 0.1.0-alpha.4.1"
#:package TicketFlow.Contacts@0.1.0-alpha.4.1
#addin nuget:?package=TicketFlow.Contacts&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.Contacts&version=0.1.0-alpha.4.1&prerelease
TicketFlow.Contacts
The TicketFlow contact service.
ContactService(IContactService): create, get, update (closedContactEdithierarchy applied atomically), delete, inbound resolve-or-create, search, reveal, export, merge and unmerge. Every read and mutation authorizes throughIAccessEvaluator(mutations against both the current and the resulting contact); search and export putIAccessQueryPlannerfilters into the store query. Revision fences and existence are checked before authorization decisions, like the access administrator.- Masking:
contact.email,contact.phone,contact.social,contact.external-idandcontact.attribute.<key>are removed fromContactViews per Access field policies. Sensitive attributes with no applicable policy fail closed (masked, not revealable).RevealAsyncgoes throughIAccessEvaluator.RevealAsync(always audited). Identity-prefix search on a masked kind is refused. - Resolve-or-create: verified evidence matching a verified identity wins (
ContactMatched/Verified); otherwise claimed holders match perClaimedIdentityMatching(WhenUniqueby default); several candidates yieldContactAmbiguous; otherwise a contact is created (ContactCreated), retrying when a concurrent writer takes a verified identity. Channel ingestion runs as a grant-holding principal (for example an API client withcontact:readandcontact:create). - Merge/unmerge (
ContactMergerdocuments the conflict rules) are single atomic store batches with a merge record, audit event (IContactAuditSink) and outbox change events;IContactChangeObservers are notified after commit. ContactLinkingService(IContactLinkingService): link verified external accounts (merging anonymous/email-only contacts into the account contact throughMergeAsync), unlink, theResolveCustomerAsynclogin helper, the workspace linking policy and link suggestions (list/accept/reject).InMemoryContactLinkingStoreis the development store.- Export requires
contact:exportand a justification, is audited before streaming, and is bounded byContactsOptions.MaximumExportContacts.
services.AddTicketFlow()
.AddAccessControl()
.AddInMemoryAccessStores() // development only
.AddContacts(options => options.ClaimedIdentityMatching = ClaimedIdentityMatching.Never)
.AddInMemoryContactStores(); // development only
Registrations use TryAdd and preserve application services; the services are scoped. The in-memory stores are bounded,
process-local development examples with no durability; use TicketFlow.Contacts.Stores.Postgres or an application-owned
implementation in production.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- TicketFlow.Contacts.Abstractions (>= 0.1.0-alpha.4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TicketFlow.Contacts:
| Package | Downloads |
|---|---|
|
TicketFlow
Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.4.1 | 44 | 11/23/2026 |
| 0.1.0-alpha.3.1 | 49 | 11/23/2026 |
| 0.1.0-alpha.2.1 | 46 | 11/22/2026 |