TicketFlow.Contacts 0.1.0-alpha.4.1

This is a prerelease version of TicketFlow.Contacts.
dotnet add package TicketFlow.Contacts --version 0.1.0-alpha.4.1
                    
NuGet\Install-Package TicketFlow.Contacts -Version 0.1.0-alpha.4.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TicketFlow.Contacts" Version="0.1.0-alpha.4.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TicketFlow.Contacts" Version="0.1.0-alpha.4.1" />
                    
Directory.Packages.props
<PackageReference Include="TicketFlow.Contacts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TicketFlow.Contacts --version 0.1.0-alpha.4.1
                    
#r "nuget: TicketFlow.Contacts, 0.1.0-alpha.4.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TicketFlow.Contacts@0.1.0-alpha.4.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TicketFlow.Contacts&version=0.1.0-alpha.4.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TicketFlow.Contacts&version=0.1.0-alpha.4.1&prerelease
                    
Install as a Cake Tool

TicketFlow.Contacts

The TicketFlow contact service.

  • ContactService (IContactService): create, get, update (closed ContactEdit hierarchy applied atomically), delete, inbound resolve-or-create, search, reveal, export, merge and unmerge. Every read and mutation authorizes through IAccessEvaluator (mutations against both the current and the resulting contact); search and export put IAccessQueryPlanner filters 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-id and contact.attribute.<key> are removed from ContactViews per Access field policies. Sensitive attributes with no applicable policy fail closed (masked, not revealable). RevealAsync goes through IAccessEvaluator.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 per ClaimedIdentityMatching (WhenUnique by default); several candidates yield ContactAmbiguous; 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 with contact:read and contact:create).
  • Merge/unmerge (ContactMerger documents 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 through MergeAsync), unlink, the ResolveCustomerAsync login helper, the workspace linking policy and link suggestions (list/accept/reject). InMemoryContactLinkingStore is the development store.
  • Export requires contact:export and a justification, is audited before streaming, and is bounded by ContactsOptions.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 Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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