Soenneker.TrustedForm.Certificates.ClientUtil 11.0.413

Prefix Reserved
dotnet add package Soenneker.TrustedForm.Certificates.ClientUtil --version 11.0.413
                    
NuGet\Install-Package Soenneker.TrustedForm.Certificates.ClientUtil -Version 11.0.413
                    
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.TrustedForm.Certificates.ClientUtil" Version="11.0.413" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.TrustedForm.Certificates.ClientUtil" Version="11.0.413" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.TrustedForm.Certificates.ClientUtil" />
                    
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.TrustedForm.Certificates.ClientUtil --version 11.0.413
                    
#r "nuget: Soenneker.TrustedForm.Certificates.ClientUtil, 11.0.413"
                    
#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.TrustedForm.Certificates.ClientUtil@11.0.413
                    
#: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.TrustedForm.Certificates.ClientUtil&version=11.0.413
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.TrustedForm.Certificates.ClientUtil&version=11.0.413
                    
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.TrustedForm.Certificates.ClientUtil

Provides lazily initialized, authenticated access to the TrustedForm Certificate API v4 client.

Installation

dotnet add package Soenneker.TrustedForm.Certificates.ClientUtil

Configuration

{
  "ActiveProspect": {
    "TrustedForm": {
      "ApiKey": "your-api-key"
    }
  }
}

Supply the raw TrustedForm API key. The utility creates the required HTTP Basic credential with username API and adds Api-Version: 4.0 to requests.

Registration

using Soenneker.TrustedForm.Certificates.ClientUtil.Registrars;

services.AddTrustedFormCertificatesClientUtilAsScoped();

The scoped utility owns its generated-client wrapper. Its underlying TrustedForm HTTP provider remains singleton and is reused after the utility is disposed. Singleton utility registration is also available through AddTrustedFormCertificatesClientUtilAsSingleton().

Retain and match a certificate

using Soenneker.TrustedForm.Certificates.OpenApiClient;
using Soenneker.TrustedForm.Certificates.OpenApiClient.Item;
using Soenneker.TrustedForm.Certificates.OpenApiClient.Models;

Uri certificateUri = new(certificateUrl);

if (!certificateUri.Scheme.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) ||
    !certificateUri.Host.Equals("cert.trustedform.com", StringComparison.OrdinalIgnoreCase))
{
    throw new InvalidOperationException("The certificate URL is not a TrustedForm certificate URL.");
}

string certificateId = certificateUri.AbsolutePath.Trim('/');
TrustedFormCertificatesOpenApiClient client =
    await certificateClients.Get(cancellationToken);

var body = new WithCert_PostRequestBody
{
    MatchLead = new MatchLeadParameters
    {
        MatchLeadEmailParameters = new MatchLeadEmailParameters
        {
            Email = leadEmail
        }
    },
    Retain = new RetainParameters
    {
        Reference = leadId,
        Vendor = leadVendor
    }
};

WithCert_PostResponse? result =
    await client[certificateId].PostAsync(body, cancellationToken: cancellationToken);

Validate the certificate host before extracting the ID. Sending an authenticated request to a caller-supplied host can disclose the TrustedForm API credential.

Certificate v4 operations are contracted and billed separately. Request only the retain, match_lead, insights, or verify operations your workflow intends to purchase, and inspect each operation's result rather than treating an HTTP success alone as business success.

Do not log API keys, certificate URLs, lead matching values, insights, or response bodies containing identity data.

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.413 103 11/3/2026
11.0.412 52 11/3/2026
11.0.411 47 11/3/2026
11.0.410 51 11/3/2026
11.0.409 52 11/3/2026
11.0.408 46 11/3/2026
11.0.407 53 11/3/2026
11.0.406 98 11/2/2026
11.0.405 96 11/2/2026
11.0.404 115 10/31/2026
11.0.403 95 10/30/2026
11.0.402 157 10/27/2026
11.0.401 102 10/27/2026
11.0.400 99 10/27/2026
11.0.399 102 10/27/2026
11.0.398 101 10/27/2026
11.0.397 112 10/26/2026
11.0.396 102 10/26/2026
11.0.395 99 10/26/2026
4.0.394 132 10/20/2026
Loading failed

Updated Multiple NuGet packages