Winglet.Tenancy.Lifecycle.Server
0.1.1
dotnet add package Winglet.Tenancy.Lifecycle.Server --version 0.1.1
NuGet\Install-Package Winglet.Tenancy.Lifecycle.Server -Version 0.1.1
<PackageReference Include="Winglet.Tenancy.Lifecycle.Server" Version="0.1.1" />
<PackageVersion Include="Winglet.Tenancy.Lifecycle.Server" Version="0.1.1" />
<PackageReference Include="Winglet.Tenancy.Lifecycle.Server" />
paket add Winglet.Tenancy.Lifecycle.Server --version 0.1.1
#r "nuget: Winglet.Tenancy.Lifecycle.Server, 0.1.1"
#:package Winglet.Tenancy.Lifecycle.Server@0.1.1
#addin nuget:?package=Winglet.Tenancy.Lifecycle.Server&version=0.1.1
#tool nuget:?package=Winglet.Tenancy.Lifecycle.Server&version=0.1.1
Winglet.Tenancy.Lifecycle.Server
Thin ASP.NET Core integration for the accepted ADR-020 tenant lifecycle
protocol. It owns common route binding, service-only authorization,
tenant.lifecycle.manage policy composition, controlled target-tenant scope
establishment and protocol result mapping.
The target service owns ITenantLifecycleTarget, durable lifecycle state,
transactions, domain behavior and internal asynchronous work. This package
does not provide EF Core, repositories, a state-machine framework, workers,
CustomerAccount orchestration, entitlement logic or target-service metadata.
builder.Services.AddWingletAuthentication(configuration);
builder.Services.AddWingletTenantLifecycleServer<MyLifecycleTarget>();
app.UseAuthentication();
app.UseWingletAuthenticationContext();
app.UseAuthorization();
app.MapWingletTenantLifecycle<MyLifecycleTarget>();
The endpoint order is authenticate, authorize the service-only caller and
tenant.lifecycle.manage, validate the route TenantId, establish the
controlled TenantContext, then invoke the target. The route TenantId is an
administrative target and never becomes trusted merely because it was supplied
by the caller.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Winglet.Authentication (>= 0.1.1)
- Winglet.Tenancy (>= 0.1.0)
- Winglet.Tenancy.Lifecycle.Contracts (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.