Tiltify.Client.DependencyInjection
0.1.0-dev1
This is a prerelease version of Tiltify.Client.DependencyInjection.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Tiltify.Client.DependencyInjection --version 0.1.0-dev1
NuGet\Install-Package Tiltify.Client.DependencyInjection -Version 0.1.0-dev1
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="Tiltify.Client.DependencyInjection" Version="0.1.0-dev1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tiltify.Client.DependencyInjection" Version="0.1.0-dev1" />
<PackageReference Include="Tiltify.Client.DependencyInjection" />
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 Tiltify.Client.DependencyInjection --version 0.1.0-dev1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tiltify.Client.DependencyInjection, 0.1.0-dev1"
#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 Tiltify.Client.DependencyInjection@0.1.0-dev1
#: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=Tiltify.Client.DependencyInjection&version=0.1.0-dev1&prerelease
#tool nuget:?package=Tiltify.Client.DependencyInjection&version=0.1.0-dev1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Tiltify.Client
A modern, async-first .NET 10 client library for the Tiltify v5 API, featuring:
- Kiota-generated typed REST client from the official OpenAPI spec
- OAuth client credentials token management with automatic refresh
- Webhook signature verification (HMAC-SHA256 + Base64 using
Agash.Webhook.Abstractions) - Typed webhook event models for donations, facts/milestones, and more
- Dependency injection extensions for easy registration
- Native AOT compatible
Packages
| Package | Description |
|---|---|
Tiltify.Client |
Core client, auth, webhook handler and models |
Tiltify.Client.Generated |
Kiota-generated REST client |
Tiltify.Client.DependencyInjection |
DI registration helpers |
Quick Start
// Register services
services.AddTiltifyClient(options =>
{
options.ClientId = "your-client-id";
options.ClientSecret = "your-client-secret";
});
// Inject and use the factory
var factory = serviceProvider.GetRequiredService<ITiltifyClientFactory>();
using var client = factory.CreateApiClient();
var campaigns = await client.Api.Public.Campaigns.GetAsync();
// Handle webhooks
var handler = serviceProvider.GetRequiredService<ITiltifyWebhookHandler>();
var result = await handler.HandleAsync(webhookRequest, new TiltifyWebhookOptions
{
SigningSecret = "your-webhook-signing-secret",
});
if (result.IsAuthenticated && result.Event is TiltifyDonationWebhookEvent donation)
{
Console.WriteLine($"Donation: {donation.Data.DonorName} — {donation.Data.Amount.Value} {donation.Data.Amount.Currency}");
}
Webhook Signature Verification
Tiltify signs webhook deliveries using HMAC-SHA256. The signed string is {X-Tiltify-Timestamp}.{rawBody}, and the signature is Base64-encoded. This library verifies that automatically using the configured signing secret.
License
MIT
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
- Microsoft.Extensions.Options (>= 10.0.0)
- Tiltify.Client (>= 0.1.0-dev1)
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 |
|---|---|---|
| 0.1.0-dev2.1 | 331 | 4/4/2026 |
| 0.1.0-dev2 | 63 | 4/4/2026 |
| 0.1.0-dev1.5 | 55 | 4/4/2026 |
| 0.1.0-dev1 | 53 | 4/2/2026 |