Soenneker.TrustedForm.Certificates.OpenApiClient
4.0.94
Prefix Reserved
dotnet add package Soenneker.TrustedForm.Certificates.OpenApiClient --version 4.0.94
NuGet\Install-Package Soenneker.TrustedForm.Certificates.OpenApiClient -Version 4.0.94
<PackageReference Include="Soenneker.TrustedForm.Certificates.OpenApiClient" Version="4.0.94" />
<PackageVersion Include="Soenneker.TrustedForm.Certificates.OpenApiClient" Version="4.0.94" />
<PackageReference Include="Soenneker.TrustedForm.Certificates.OpenApiClient" />
paket add Soenneker.TrustedForm.Certificates.OpenApiClient --version 4.0.94
#r "nuget: Soenneker.TrustedForm.Certificates.OpenApiClient, 4.0.94"
#:package Soenneker.TrustedForm.Certificates.OpenApiClient@4.0.94
#addin nuget:?package=Soenneker.TrustedForm.Certificates.OpenApiClient&version=4.0.94
#tool nuget:?package=Soenneker.TrustedForm.Certificates.OpenApiClient&version=4.0.94
Soenneker.TrustedForm.Certificates.OpenApiClient
A Kiota-generated client for ActiveProspect's TrustedForm Certificate API v4.
Installation
dotnet add package Soenneker.TrustedForm.Certificates.OpenApiClient
Usage
using System.Net.Http.Headers;
using System.Text;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.TrustedForm.Certificates.OpenApiClient;
using Soenneker.TrustedForm.Certificates.OpenApiClient.Item;
using Soenneker.TrustedForm.Certificates.OpenApiClient.Models;
string basicCredentials = Convert.ToBase64String(
Encoding.UTF8.GetBytes($"API:{trustedFormApiKey}"));
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://cert.trustedform.com/")
};
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Basic", basicCredentials);
httpClient.DefaultRequestHeaders.Add("Api-Version", "4.0");
var authentication = new AnonymousAuthenticationProvider();
var adapter = new HttpClientRequestAdapter(authentication, httpClient: httpClient);
var trustedForm = new TrustedFormCertificatesOpenApiClient(adapter);
var body = new WithCert_PostRequestBody
{
MatchLead = new MatchLeadParameters
{
MatchLeadEmailParameters = new MatchLeadEmailParameters
{
Email = leadEmail
}
},
Retain = new RetainParameters
{
Reference = leadId,
Vendor = leadVendor
}
};
WithCert_PostResponse? result =
await trustedForm[certificateId]
.PostAsync(body, cancellationToken: cancellationToken);
The indexer accepts a certificate ID, not an arbitrary URL. If a lead supplies a certificate URL, require HTTPS and the exact host cert.trustedform.com before extracting its path; otherwise an authenticated request can disclose the API credential.
HTTP Basic authentication uses the fixed username API and the TrustedForm API key as its password. Every v4 request must also include Api-Version: 4.0.
retain, match_lead, insights, and verify are separate operations and may be contracted and billed independently. Inspect each operation result—an HTTP success does not by itself mean every requested operation succeeded.
Reuse the client, adapter, and HttpClient. Keep API keys, certificate URLs, matching values, insights, and identity data out of logs.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.1.0)
- Microsoft.Kiota.Serialization.Form (>= 2.0.0)
- Microsoft.Kiota.Serialization.Json (>= 2.0.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.0.0)
- Microsoft.Kiota.Serialization.Text (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.TrustedForm.Certificates.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.TrustedForm.Certificates.ClientUtil
Provides lazily initialized, authenticated access to the TrustedForm Certificate API v4 client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.94 | 0 | 9/3/2026 |
| 4.0.93 | 113 | 8/31/2026 |
| 4.0.92 | 596 | 7/28/2026 |
| 4.0.91 | 388 | 7/16/2026 |
| 4.0.90 | 239 | 7/10/2026 |
| 4.0.89 | 128 | 7/9/2026 |
| 4.0.88 | 123 | 7/7/2026 |
| 4.0.87 | 123 | 7/4/2026 |
| 4.0.86 | 162 | 6/27/2026 |
| 4.0.85 | 137 | 6/25/2026 |
| 4.0.84 | 199 | 6/18/2026 |
| 4.0.83 | 380 | 6/5/2026 |
| 4.0.82 | 116 | 6/5/2026 |
| 4.0.81 | 116 | 6/4/2026 |
| 4.0.80 | 118 | 6/3/2026 |
| 4.0.79 | 291 | 5/8/2026 |
| 4.0.78 | 124 | 5/7/2026 |
| 4.0.77 | 112 | 5/7/2026 |
| 4.0.76 | 105 | 5/7/2026 |
| 4.0.75 | 100 | 5/6/2026 |
Update dependency Microsoft.Kiota.Http.HttpClientLibrary to 2.1.0 (#391)