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
                    
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="Soenneker.LaunchDarkly.OpenApiClientUtil" Version="11.0.122" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.LaunchDarkly.OpenApiClientUtil" Version="11.0.122" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.LaunchDarkly.OpenApiClientUtil" />
                    
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 Soenneker.LaunchDarkly.OpenApiClientUtil --version 11.0.122
                    
#r "nuget: Soenneker.LaunchDarkly.OpenApiClientUtil, 11.0.122"
                    
#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 Soenneker.LaunchDarkly.OpenApiClientUtil@11.0.122
                    
#: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=Soenneker.LaunchDarkly.OpenApiClientUtil&version=11.0.122
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.LaunchDarkly.OpenApiClientUtil&version=11.0.122
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
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
Loading failed

Update dependency Soenneker.LaunchDarkly.HttpClients to 11.0.84 (#119)