Soenneker.Telnyx.PublicKeys 4.0.57

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

Retrieves and caches the Ed25519 public key used to verify Telnyx webhook signatures.

Installation

dotnet add package Soenneker.Telnyx.PublicKeys

Registration

using Soenneker.Telnyx.PublicKeys.Registrars;

services.AddTelnyxPublicKeysUtilAsSingleton();

Singleton registration shares the cached key across consumers. Use AddTelnyxPublicKeysUtilAsScoped() when the utility should follow the current scope; its Telnyx HTTP provider remains singleton and is reused across scopes.

Configure the Telnyx API token used to retrieve the account's webhook-signing key:

{
  "Telnyx": {
    "Token": "KEY..."
  }
}

Usage

using Soenneker.Telnyx.PublicKeys.Abstract;

public sealed class WebhookService
{
    private readonly ITelnyxPublicKeysUtil _publicKeys;

    public WebhookService(ITelnyxPublicKeysUtil publicKeys)
    {
        _publicKeys = publicKeys;
    }

    public async ValueTask<string> GetPublicKey(CancellationToken cancellationToken)
    {
        return await _publicKeys.Get(cancellationToken);
    }
}

Get() retrieves the Base64-encoded Ed25519 key from Telnyx and caches it for 24 hours. Use Refresh() when you need to bypass that cache immediately.

RefreshIfCurrent() supports signature-verification retry flows. It refreshes only when the caller's key is still current and rate-limits conditional refreshes to one per minute.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Telnyx.PublicKeys:

Package Downloads
Soenneker.Telnyx.Validators.Signatures

Validates Telnyx webhook signatures and rejects stale timestamps that could be replayed.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.57 47 9/10/2026
4.0.56 61 9/9/2026
4.0.55 60 9/9/2026
4.0.54 73 9/9/2026
4.0.53 77 9/9/2026
4.0.52 91 9/8/2026
4.0.51 75 9/8/2026
4.0.50 85 9/8/2026
4.0.48 101 9/7/2026
4.0.47 94 9/7/2026
4.0.46 98 9/7/2026
4.0.45 124 9/5/2026
4.0.44 112 9/5/2026
4.0.43 100 9/4/2026
4.0.42 106 9/4/2026
4.0.41 94 9/4/2026
4.0.40 77 9/4/2026
4.0.39 93 9/4/2026
4.0.38 93 9/4/2026
4.0.37 76 9/4/2026
Loading failed