Soenneker.LaunchDarkly.OpenApiClientUtil
11.0.122
Prefix Reserved
dotnet add package Soenneker.LaunchDarkly.OpenApiClientUtil --version 11.0.122
NuGet\Install-Package Soenneker.LaunchDarkly.OpenApiClientUtil -Version 11.0.122
<PackageReference Include="Soenneker.LaunchDarkly.OpenApiClientUtil" Version="11.0.122" />
<PackageVersion Include="Soenneker.LaunchDarkly.OpenApiClientUtil" Version="11.0.122" />
<PackageReference Include="Soenneker.LaunchDarkly.OpenApiClientUtil" />
paket add Soenneker.LaunchDarkly.OpenApiClientUtil --version 11.0.122
#r "nuget: Soenneker.LaunchDarkly.OpenApiClientUtil, 11.0.122"
#:package Soenneker.LaunchDarkly.OpenApiClientUtil@11.0.122
#addin nuget:?package=Soenneker.LaunchDarkly.OpenApiClientUtil&version=11.0.122
#tool nuget:?package=Soenneker.LaunchDarkly.OpenApiClientUtil&version=11.0.122
Soenneker.LaunchDarkly.OpenApiClientUtil
Create and reuse an authenticated LaunchDarkly generated client over the shared HTTP transport.
Install
dotnet add package Soenneker.LaunchDarkly.OpenApiClientUtil
Configure and register
{ "LaunchDarkly": { "ApiKey": "<access token>" } }
services.AddLaunchDarklyOpenApiClientUtilAsScoped();
The scoped utility deliberately keeps ILaunchDarklyOpenApiHttpClient singleton. Disposing a scope releases its generated-client wrapper without tearing down the long-lived transport used by later scopes. Use the singleton registration when the wrapper should also live for the application lifetime.
The HTTP provider defaults to https://app.launchdarkly.com/api/v2 and sends the token directly in Authorization. It also supports ClientBaseUrl, AuthHeaderName, and AuthHeaderValueTemplate under LaunchDarkly.
LaunchDarklyOpenApiClient client = await clientUtil.Get(cancellationToken);
CallerIdentityRep? identity = await client.Api.V2.CallerIdentity.GetAsync(
cancellationToken: cancellationToken);
Authentication is supplied by the underlying provider, so Kiota does not add a second header. Let the service container dispose the utility and provider.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.LaunchDarkly.HttpClients (>= 11.0.84)
- Soenneker.LaunchDarkly.OpenApiClient (>= 11.0.62)
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.122 | 0 | 10/27/2026 |
| 11.0.121 | 0 | 10/26/2026 |
| 11.0.120 | 0 | 10/26/2026 |
| 11.0.119 | 0 | 10/26/2026 |
| 11.0.118 | 36 | 10/26/2026 |
| 4.0.117 | 46 | 10/25/2026 |
| 4.0.116 | 52 | 10/23/2026 |
| 4.0.115 | 54 | 10/23/2026 |
| 4.0.114 | 53 | 10/22/2026 |
| 4.0.113 | 70 | 10/21/2026 |
| 4.0.112 | 87 | 10/19/2026 |
| 4.0.111 | 88 | 10/18/2026 |
| 4.0.110 | 85 | 10/17/2026 |
| 4.0.109 | 87 | 10/15/2026 |
| 4.0.108 | 85 | 10/15/2026 |
| 4.0.105 | 85 | 10/14/2026 |
| 4.0.104 | 82 | 10/14/2026 |
| 4.0.103 | 81 | 10/14/2026 |
| 4.0.96 | 78 | 10/13/2026 |
| 4.0.94 | 79 | 10/12/2026 |
Update dependency Soenneker.LaunchDarkly.HttpClients to 11.0.84 (#119)