Winglet.Auth.Client 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Winglet.Auth.Client --version 0.2.0
                    
NuGet\Install-Package Winglet.Auth.Client -Version 0.2.0
                    
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="Winglet.Auth.Client" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Winglet.Auth.Client" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Winglet.Auth.Client" />
                    
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 Winglet.Auth.Client --version 0.2.0
                    
#r "nuget: Winglet.Auth.Client, 0.2.0"
                    
#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 Winglet.Auth.Client@0.2.0
                    
#: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=Winglet.Auth.Client&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Winglet.Auth.Client&version=0.2.0
                    
Install as a Cake Tool

Winglet.Auth.Client

Register AddWingletAuthClient(configuration) and, when provisioning is needed, AddWingletAuthAdministrationClient(configuration). Both use Winglet:Clients:Auth:BaseUrl and the released Winglet.Client token-provider boundary. /self derives identity from the validated token; the tenant-self operation sends the service-provided positive tenantId query because that is the PHP endpoint's explicit contract.

The package covers authorization snapshots, revisions and CustomerAccount tenant/membership/role/permission provisioning. Authorization catalog CRUD, /authorization/check, bootstrap and unrelated interactive endpoints are excluded. The client never parses JWTs, forwards inbound bearer tokens or performs request-time remote authorization for ordinary application requests. GET operations use shared bounded safe-method retry; writes are not blindly retried. Errors are Winglet.Client exceptions and malformed 2xx envelopes are WingletClientContractException.

Initial tenant administrator provisioning is available through IAuthAdministrationClient.GrantInitialTenantAdminAsync. It is one semantic Auth operation: callers provide the target tenant ID, identity ID and a stable operation ID from their provisioning workflow. Auth owns membership and administrator assignment, so the target role code is not exposed here. The call requires a Global service token and the upstream auth.tenant.bootstrap_admin permission. A successful replay is reported by AlreadyApplied; the POST is not blindly retried.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 82 9/11/2026
1.0.0 104 9/10/2026
0.2.0 102 9/8/2026
0.1.0 94 9/7/2026