Soenneker.Persona.OpenApiClientUtil
11.0.342
Prefix Reserved
dotnet add package Soenneker.Persona.OpenApiClientUtil --version 11.0.342
NuGet\Install-Package Soenneker.Persona.OpenApiClientUtil -Version 11.0.342
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.Persona.OpenApiClientUtil" Version="11.0.342" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Persona.OpenApiClientUtil" Version="11.0.342" />
<PackageReference Include="Soenneker.Persona.OpenApiClientUtil" />
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.Persona.OpenApiClientUtil --version 11.0.342
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Persona.OpenApiClientUtil, 11.0.342"
#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.Persona.OpenApiClientUtil@11.0.342
#: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.Persona.OpenApiClientUtil&version=11.0.342
#tool nuget:?package=Soenneker.Persona.OpenApiClientUtil&version=11.0.342
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Persona.OpenApiClientUtil
Provides a configured Persona identity API client and reuses it for the lifetime of the registered service.
Installation
dotnet add package Soenneker.Persona.OpenApiClientUtil
Configuration
{
"Persona": {
"ApiKey": "your-api-key"
}
}
Persona:ApiVersion can override the packaged schema's 2025-12-08 default.
Usage
using Soenneker.Persona.OpenApiClientUtil.Abstract;
using Soenneker.Persona.OpenApiClientUtil.Registrars;
services.AddPersonaOpenApiClientUtilAsSingleton();
IPersonaOpenApiClientUtil persona = serviceProvider
.GetRequiredService<IPersonaOpenApiClientUtil>();
var client = await persona.Get(cancellationToken);
var accounts = await client.Accounts.GetAsync(cancellationToken: cancellationToken);
Use AddPersonaOpenApiClientUtilAsScoped() when each application scope should have its own generated client wrapper. The underlying authenticated HTTP provider remains shared and is disposed by the service container at shutdown.
| Product | Versions 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.
-
net11.0
- Soenneker.Persona.HttpClients (>= 11.0.201)
- Soenneker.Persona.OpenApiClient (>= 11.0.192)
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.342 | 43 | 12/5/2026 |
| 11.0.341 | 55 | 12/3/2026 |
| 11.0.340 | 52 | 12/3/2026 |
| 11.0.339 | 68 | 12/3/2026 |
| 11.0.338 | 75 | 12/3/2026 |
| 11.0.337 | 70 | 12/3/2026 |
| 11.0.336 | 77 | 12/3/2026 |
| 11.0.335 | 74 | 12/2/2026 |
| 11.0.334 | 75 | 12/2/2026 |
| 11.0.333 | 77 | 12/2/2026 |
| 11.0.331 | 72 | 12/2/2026 |
| 11.0.330 | 86 | 12/2/2026 |
| 11.0.329 | 84 | 12/2/2026 |
| 11.0.328 | 89 | 12/2/2026 |
| 11.0.327 | 90 | 12/1/2026 |
| 11.0.326 | 88 | 12/1/2026 |
| 11.0.325 | 85 | 12/1/2026 |
| 11.0.324 | 99 | 12/1/2026 |
| 11.0.323 | 90 | 12/1/2026 |
| 11.0.322 | 95 | 11/30/2026 |
Loading failed
Update dependency Soenneker.Persona.OpenApiClient to 11.0.192 (#439)