Verifiabl.Issuer.Extensions.DependencyInjection
1.0.0
Prefix Reserved
dotnet add package Verifiabl.Issuer.Extensions.DependencyInjection --version 1.0.0
NuGet\Install-Package Verifiabl.Issuer.Extensions.DependencyInjection -Version 1.0.0
<PackageReference Include="Verifiabl.Issuer.Extensions.DependencyInjection" Version="1.0.0" />
<PackageVersion Include="Verifiabl.Issuer.Extensions.DependencyInjection" Version="1.0.0" />
<PackageReference Include="Verifiabl.Issuer.Extensions.DependencyInjection" />
paket add Verifiabl.Issuer.Extensions.DependencyInjection --version 1.0.0
#r "nuget: Verifiabl.Issuer.Extensions.DependencyInjection, 1.0.0"
#:package Verifiabl.Issuer.Extensions.DependencyInjection@1.0.0
#addin nuget:?package=Verifiabl.Issuer.Extensions.DependencyInjection&version=1.0.0
#tool nuget:?package=Verifiabl.Issuer.Extensions.DependencyInjection&version=1.0.0
Verifiabl.Issuer.Extensions.DependencyInjection
Dependency-injection wiring for the Verifiabl .NET SDK. Registers IVerifiablClient and connects it to IHttpClientFactory, so the core Verifiabl.Issuer package stays dependency-light.
dotnet add package Verifiabl.Issuer.Extensions.DependencyInjection
using Microsoft.Extensions.DependencyInjection;
using Verifiabl;
using Verifiabl.Client;
using Verifiabl.Extensions.DependencyInjection;
builder.Services.AddVerifiablClient(options =>
{
options.Environment = VerifiablEnvironment.Sandbox;
options.Auth = VerifiablAuth.ClientCredentials(clientId, clientSecret);
});
Then inject IVerifiablClient:
public sealed class PayrollService(IVerifiablClient verifiabl)
{
public Task<RegisterNonPiiResponse> RegisterAsync(RegisterNonPiiRequest request) =>
verifiabl.RegisterNonPiiAsync(request);
}
Use the Action<IServiceProvider, VerifiablClientOptions> overload when the credentials come from another registered service.
The client is registered as a singleton: it caches OAuth access tokens, so a scoped or transient lifetime would fetch a fresh token on every resolve. Its HttpClient comes from the named factory client Verifiabl (VerifiablServiceCollectionExtensions.HttpClientName), which you can further configure with AddHttpClient("Verifiabl"). Setting options.HttpClient yourself takes precedence.
Registration uses TryAdd semantics: the first AddVerifiablClient call wins and later calls are silently ignored, so register the client once at composition-root level rather than from multiple modules.
The extension method lives in Verifiabl.Extensions.DependencyInjection, so add that using alongside Microsoft.Extensions.DependencyInjection.
Full documentation: docs.verifiabl.io.
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Options (>= 8.0.2)
- Verifiabl.Issuer (>= 1.0.0)
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Options (>= 8.0.2)
- Verifiabl.Issuer (>= 1.0.0)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Options (>= 8.0.2)
- Verifiabl.Issuer (>= 1.0.0)
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.0 | 105 | 10/19/2026 |
| 0.17.0 | 82 | 10/13/2026 |
| 0.16.0 | 92 | 10/9/2026 |
| 0.15.0 | 91 | 10/4/2026 |
| 0.14.0 | 89 | 10/4/2026 |
| 0.13.0 | 105 | 9/30/2026 |
| 0.12.0 | 100 | 9/29/2026 |
| 0.11.0 | 95 | 9/28/2026 |
| 0.10.0 | 94 | 9/28/2026 |
| 0.9.0 | 108 | 9/18/2026 |
| 0.8.0 | 95 | 9/16/2026 |
| 0.7.1 | 112 | 9/10/2026 |
| 0.7.0 | 115 | 9/10/2026 |
| 0.6.0 | 117 | 9/3/2026 |
| 0.5.0 | 115 | 9/3/2026 |