Winglet.Subscription.Client
0.1.0
See the version list below for details.
dotnet add package Winglet.Subscription.Client --version 0.1.0
NuGet\Install-Package Winglet.Subscription.Client -Version 0.1.0
<PackageReference Include="Winglet.Subscription.Client" Version="0.1.0" />
<PackageVersion Include="Winglet.Subscription.Client" Version="0.1.0" />
<PackageReference Include="Winglet.Subscription.Client" />
paket add Winglet.Subscription.Client --version 0.1.0
#r "nuget: Winglet.Subscription.Client, 0.1.0"
#:package Winglet.Subscription.Client@0.1.0
#addin nuget:?package=Winglet.Subscription.Client&version=0.1.0
#tool nuget:?package=Winglet.Subscription.Client&version=0.1.0
Winglet.Subscription.Client
Winglet.Subscription.Client is the typed consumer boundary for stable tenant-scoped Subscription operations. It uses Winglet.Client for endpoint validation, service-token acquisition, correlation, canonical errors and bounded safe-request resilience.
Configure the endpoint under:
Winglet:Clients:Subscription:BaseUrl
Registration:
services.AddSubscriptionClient(configuration);
The consuming host must register an IWingletClientTokenProvider (normally through the host's Winglet authentication composition). The client requests a tenant-scoped service token; tenant identity comes from trusted authentication context, not from a client parameter.
Example:
public sealed class EntitlementHandler(ISubscriptionClient subscriptionClient)
{
public Task<AuthoritativeEntitlementsResponse> HandleAsync(
string subscriberType,
string subscriberId,
Guid productId,
CancellationToken cancellationToken) =>
subscriptionClient.GetEntitlementsAsync(
subscriberType,
subscriberId,
productId,
cancellationToken);
}
CreateDefaultTrialRequest.OperationId is the service's idempotency identity. The client forwards it unchanged; callers must reuse the same request on retry. Checkout-dependent, catalog-admin and maintenance operations are intentionally not part of this V1 client.
| 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.Client (>= 0.2.0)
- Winglet.Subscription.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.