Soenneker.Unified.OpenApiClientUtil
11.0.265
Prefix Reserved
dotnet add package Soenneker.Unified.OpenApiClientUtil --version 11.0.265
NuGet\Install-Package Soenneker.Unified.OpenApiClientUtil -Version 11.0.265
<PackageReference Include="Soenneker.Unified.OpenApiClientUtil" Version="11.0.265" />
<PackageVersion Include="Soenneker.Unified.OpenApiClientUtil" Version="11.0.265" />
<PackageReference Include="Soenneker.Unified.OpenApiClientUtil" />
paket add Soenneker.Unified.OpenApiClientUtil --version 11.0.265
#r "nuget: Soenneker.Unified.OpenApiClientUtil, 11.0.265"
#:package Soenneker.Unified.OpenApiClientUtil@11.0.265
#addin nuget:?package=Soenneker.Unified.OpenApiClientUtil&version=11.0.265
#tool nuget:?package=Soenneker.Unified.OpenApiClientUtil&version=11.0.265
Soenneker.Unified.OpenApiClientUtil
Provides a cached UnifiedOpenApiClient backed by an authenticated Unified HTTP client.
Installation
dotnet add package Soenneker.Unified.OpenApiClientUtil
Configuration
{
"Unified": {
"ApiKey": "your-workspace-api-token"
}
}
The underlying transport sends Authorization: Bearer <ApiKey>. For EU or Australian workspaces, set Unified:ClientBaseUrl to https://api-eu.unified.to/ or https://api-au.unified.to/.
Registration
using Soenneker.Unified.OpenApiClientUtil.Registrars;
services.AddUnifiedOpenApiClientUtilAsScoped();
Use AddUnifiedOpenApiClientUtilAsSingleton() to share the generated client wrapper too. Both registrations borrow the singleton HTTP provider; disposing a scoped wrapper does not remove its transport.
Usage
using Soenneker.Unified.OpenApiClient;
using Soenneker.Unified.OpenApiClient.Models;
using Soenneker.Unified.OpenApiClientUtil.Abstract;
public sealed class ConnectionReader
{
private readonly IUnifiedOpenApiClientUtil _clients;
public ConnectionReader(IUnifiedOpenApiClientUtil clients)
{
_clients = clients;
}
public async ValueTask<List<Connection>?> GetSandboxConnections(
CancellationToken cancellationToken)
{
UnifiedOpenApiClient client = await _clients.Get(cancellationToken);
return await client.Unified.Connection.GetAsync(
request => request.QueryParameters.Env = "Sandbox",
cancellationToken);
}
}
Get() initializes the generated client once for that provider instance and returns the same instance afterward. Unified and transport failures are propagated through Kiota exceptions.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Unified.HttpClients (>= 4.0.158)
- Soenneker.Unified.OpenApiClient (>= 4.0.154)
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 |
|---|---|---|
| 11.0.265 | 0 | 10/26/2026 |
| 11.0.264 | 35 | 10/26/2026 |
| 4.0.263 | 45 | 10/25/2026 |
| 4.0.262 | 45 | 10/25/2026 |
| 4.0.261 | 53 | 10/23/2026 |
| 4.0.260 | 53 | 10/23/2026 |
| 4.0.259 | 53 | 10/22/2026 |
| 4.0.258 | 54 | 10/21/2026 |
| 4.0.257 | 89 | 10/19/2026 |
| 4.0.256 | 90 | 10/18/2026 |
| 4.0.255 | 90 | 10/17/2026 |
| 4.0.254 | 97 | 10/15/2026 |
| 4.0.253 | 85 | 10/15/2026 |
| 4.0.252 | 86 | 10/15/2026 |
| 4.0.251 | 86 | 10/14/2026 |
| 4.0.250 | 81 | 10/14/2026 |
| 4.0.249 | 88 | 10/14/2026 |
| 4.0.248 | 87 | 10/14/2026 |
| 4.0.247 | 80 | 10/14/2026 |
| 4.0.240 | 93 | 10/13/2026 |
Enable runtime async for compatible .NET 11 projects