Soenneker.TrustedForm.Certificates.ClientUtil 11.0.447

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.TrustedForm.Certificates.ClientUtil --version 11.0.447
                    
NuGet\Install-Package Soenneker.TrustedForm.Certificates.ClientUtil -Version 11.0.447
                    
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.447" />
                    
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.447" />
                    
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.447
                    
#r "nuget: Soenneker.TrustedForm.Certificates.ClientUtil, 11.0.447"
                    
#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.447
                    
#: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.447
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.TrustedForm.Certificates.ClientUtil&version=11.0.447
                    
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.450 0 12/3/2026
11.0.449 0 12/3/2026
11.0.448 42 12/3/2026
11.0.447 46 12/3/2026
11.0.446 48 12/3/2026
11.0.445 44 12/2/2026
11.0.444 52 12/2/2026
11.0.442 49 12/2/2026
11.0.441 51 12/2/2026
11.0.440 51 12/2/2026
11.0.439 52 12/1/2026
11.0.438 52 12/1/2026
11.0.437 55 12/1/2026
11.0.436 58 12/1/2026
11.0.435 53 12/1/2026
11.0.434 82 11/30/2026
11.0.433 84 11/30/2026
11.0.432 99 11/30/2026
11.0.431 101 11/30/2026
11.0.430 93 11/29/2026
Loading failed

Updated Multiple NuGet packages