Soenneker.Telnyx.PublicKeys
4.0.64
Prefix Reserved
dotnet add package Soenneker.Telnyx.PublicKeys --version 4.0.64
NuGet\Install-Package Soenneker.Telnyx.PublicKeys -Version 4.0.64
<PackageReference Include="Soenneker.Telnyx.PublicKeys" Version="4.0.64" />
<PackageVersion Include="Soenneker.Telnyx.PublicKeys" Version="4.0.64" />
<PackageReference Include="Soenneker.Telnyx.PublicKeys" />
paket add Soenneker.Telnyx.PublicKeys --version 4.0.64
#r "nuget: Soenneker.Telnyx.PublicKeys, 4.0.64"
#:package Soenneker.Telnyx.PublicKeys@4.0.64
#addin nuget:?package=Soenneker.Telnyx.PublicKeys&version=4.0.64
#tool nuget:?package=Soenneker.Telnyx.PublicKeys&version=4.0.64
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 | 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
- Soenneker.Telnyx.Client (>= 4.0.600)
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.64 | 0 | 9/16/2026 |
| 4.0.63 | 5 | 9/15/2026 |
| 4.0.62 | 76 | 9/13/2026 |
| 4.0.61 | 56 | 9/13/2026 |
| 4.0.60 | 63 | 9/13/2026 |
| 4.0.59 | 47 | 9/13/2026 |
| 4.0.58 | 68 | 9/12/2026 |
| 4.0.57 | 92 | 9/10/2026 |
| 4.0.56 | 85 | 9/9/2026 |
| 4.0.55 | 86 | 9/9/2026 |
| 4.0.54 | 96 | 9/9/2026 |
| 4.0.53 | 101 | 9/9/2026 |
| 4.0.52 | 120 | 9/8/2026 |
| 4.0.51 | 101 | 9/8/2026 |
| 4.0.50 | 108 | 9/8/2026 |
| 4.0.48 | 117 | 9/7/2026 |
| 4.0.47 | 110 | 9/7/2026 |
| 4.0.46 | 109 | 9/7/2026 |
| 4.0.45 | 138 | 9/5/2026 |
| 4.0.44 | 124 | 9/5/2026 |