Soenneker.Telnyx.PublicKeys
4.0.51
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Telnyx.PublicKeys --version 4.0.51
NuGet\Install-Package Soenneker.Telnyx.PublicKeys -Version 4.0.51
<PackageReference Include="Soenneker.Telnyx.PublicKeys" Version="4.0.51" />
<PackageVersion Include="Soenneker.Telnyx.PublicKeys" Version="4.0.51" />
<PackageReference Include="Soenneker.Telnyx.PublicKeys" />
paket add Soenneker.Telnyx.PublicKeys --version 4.0.51
#r "nuget: Soenneker.Telnyx.PublicKeys, 4.0.51"
#:package Soenneker.Telnyx.PublicKeys@4.0.51
#addin nuget:?package=Soenneker.Telnyx.PublicKeys&version=4.0.51
#tool nuget:?package=Soenneker.Telnyx.PublicKeys&version=4.0.51
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.575)
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 | 53 | 9/10/2026 |
| 4.0.56 | 65 | 9/9/2026 |
| 4.0.55 | 63 | 9/9/2026 |
| 4.0.54 | 76 | 9/9/2026 |
| 4.0.53 | 79 | 9/9/2026 |
| 4.0.52 | 95 | 9/8/2026 |
| 4.0.51 | 81 | 9/8/2026 |
| 4.0.50 | 89 | 9/8/2026 |
| 4.0.48 | 106 | 9/7/2026 |
| 4.0.47 | 100 | 9/7/2026 |
| 4.0.46 | 102 | 9/7/2026 |
| 4.0.45 | 127 | 9/5/2026 |
| 4.0.44 | 114 | 9/5/2026 |
| 4.0.43 | 102 | 9/4/2026 |
| 4.0.42 | 108 | 9/4/2026 |
| 4.0.41 | 96 | 9/4/2026 |
| 4.0.40 | 79 | 9/4/2026 |
| 4.0.39 | 95 | 9/4/2026 |
| 4.0.38 | 95 | 9/4/2026 |
| 4.0.37 | 78 | 9/4/2026 |