Soenneker.Trulioo.HttpClients
11.0.174
Prefix Reserved
dotnet add package Soenneker.Trulioo.HttpClients --version 11.0.174
NuGet\Install-Package Soenneker.Trulioo.HttpClients -Version 11.0.174
<PackageReference Include="Soenneker.Trulioo.HttpClients" Version="11.0.174" />
<PackageVersion Include="Soenneker.Trulioo.HttpClients" Version="11.0.174" />
<PackageReference Include="Soenneker.Trulioo.HttpClients" />
paket add Soenneker.Trulioo.HttpClients --version 11.0.174
#r "nuget: Soenneker.Trulioo.HttpClients, 11.0.174"
#:package Soenneker.Trulioo.HttpClients@11.0.174
#addin nuget:?package=Soenneker.Trulioo.HttpClients&version=11.0.174
#tool nuget:?package=Soenneker.Trulioo.HttpClients&version=11.0.174
Soenneker.Trulioo.HttpClients
Provides a cached, bearer-authenticated HttpClient for Trulioo's Customer API v2.5.
Installation
dotnet add package Soenneker.Trulioo.HttpClients
Configuration
{
"Trulioo": {
"ApiKey": "your-license-or-access-token"
}
}
The default base URL is https://verification.trulioo.com/. Set Trulioo:ClientBaseUrl for a regional or non-production endpoint.
Requests use Authorization: Bearer {token} by default. The Customer API uses different bearer credentials across its authorization and transaction flow, so configure the credential appropriate for the endpoints this client instance will call. Override Trulioo:AuthHeaderName or Trulioo:AuthHeaderValueTemplate only when your Trulioo integration requires it.
Registration
using Soenneker.Trulioo.HttpClients.Registrars;
services.AddTruliooOpenApiHttpClientAsScoped();
Scoped registration is useful when the wrapper's credential lifetime follows a transaction scope. Its shared HTTP-client cache remains singleton, while each wrapper owns and removes only its own cached client entry.
Usage
using Soenneker.Trulioo.HttpClients.Abstract;
HttpClient client = await truliooHttpClient.Get(cancellationToken);
HttpResponseMessage response =
await client.GetAsync($"customer/transactions/{transactionId}", cancellationToken);
response.EnsureSuccessStatusCode();
Reuse the returned client within its configured credential scope. Do not dispose it directly; the wrapper owns its cached client entry. Treat request and response data as sensitive identity information and avoid logging payloads or credentials.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.919)
- Soenneker.Utils.HttpClientCache (>= 11.0.2164)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Trulioo.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Trulioo.OpenApiClientUtil
Provides lazily initialized, cached access to Trulioo's generated Customer API client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.174 | 78 | 11/19/2026 |
| 11.0.172 | 55 | 11/18/2026 |
| 11.0.169 | 147 | 11/15/2026 |
| 11.0.168 | 111 | 11/15/2026 |
| 11.0.167 | 130 | 11/11/2026 |
| 11.0.166 | 107 | 11/11/2026 |
| 11.0.165 | 97 | 11/11/2026 |
| 11.0.164 | 123 | 11/11/2026 |
| 11.0.163 | 115 | 11/11/2026 |
| 11.0.162 | 149 | 11/3/2026 |
| 11.0.161 | 107 | 11/3/2026 |
| 11.0.160 | 109 | 11/3/2026 |
| 11.0.159 | 103 | 11/3/2026 |
| 11.0.158 | 100 | 11/3/2026 |
| 11.0.156 | 208 | 10/27/2026 |
| 11.0.155 | 120 | 10/26/2026 |
| 11.0.154 | 102 | 10/26/2026 |
| 11.0.153 | 109 | 10/26/2026 |
| 4.0.152 | 172 | 10/15/2026 |
| 4.0.151 | 101 | 10/15/2026 |
Updated Multiple NuGet packages