Authlink.Webhooks.Core
1.3.1
See the version list below for details.
dotnet add package Authlink.Webhooks.Core --version 1.3.1
NuGet\Install-Package Authlink.Webhooks.Core -Version 1.3.1
<PackageReference Include="Authlink.Webhooks.Core" Version="1.3.1" />
<PackageVersion Include="Authlink.Webhooks.Core" Version="1.3.1" />
<PackageReference Include="Authlink.Webhooks.Core" />
paket add Authlink.Webhooks.Core --version 1.3.1
#r "nuget: Authlink.Webhooks.Core, 1.3.1"
#:package Authlink.Webhooks.Core@1.3.1
#addin nuget:?package=Authlink.Webhooks.Core&version=1.3.1
#tool nuget:?package=Authlink.Webhooks.Core&version=1.3.1
Package Overview
Authlink.Webhooks.Core is a lightweight, dependency-free library that defines event types, payload DTOs, and response models for Authlink webhook integration.
It is intended to be consumed by higher-level packages such as:
Authlink.Webhooks- Signature validation and event parsingAuthlink.Webhooks.AspNetCore- ASP.NET Core middleware and filtersAuthlink.Webhooks.ServiceStack- ServiceStack plugin and filters
Install
dotnet add package Authlink.Webhooks.Core
Or via Package Manager:
PM> Install-Package Authlink.Webhooks.Core
Purpose
This package serves as a foundation layer, providing:
- Event type enums for webhook events
- Payload DTOs for deserializing webhook requests
- Response models for webhook handlers
- Zero external dependencies
Event Types
using Authlink.Webhooks.Core.Enums;
// Check event type
if (webhookEvent.EventType == WebhookEventType.RegistrationCompleting)
{
// Handle registration completing event
}
Available Event Types
| Value | Description |
|---|---|
RegistrationCompleting |
Fired before the registration is finalized. Blocking webhook (approve/reject). |
RegistrationCompleted |
Fired after the registration completes. Non-blocking notification. |
Payloads
| Type | Event |
|---|---|
RegistrationCompletingPayload |
registration.completing |
RegistrationCompletedPayload |
registration.completed |
Both payloads carry an optional EnrollmentType (new_user, existing_user, or — on completed events only — already_member) indicating which enrollment branch the registration followed; it is null on events produced by Authlink servers that predate enrollment branching (treat as new_user). RegistrationCompletingPayload additionally carries ExistingUserId, the matched Authlink user on the existing_user branch.
RegistrationCompletingPayload distinguishes two country fields: PhoneCountryIso2 is the country the registrant explicitly selected to validate their phone number against, while CountryIso2 is the government identifier's country — do not substitute one for the other. See the Authlink.Webhooks README for field-level documentation.
Documentation
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. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Authlink.Webhooks.Core:
| Package | Downloads |
|---|---|
|
Authlink.Webhooks
Webhook signature validation for Authlink webhook integration |
GitHub repositories
This package is not used by any popular GitHub repositories.