Authlink.Webhooks.Core 1.4.0

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

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 parsing
  • Authlink.Webhooks.AspNetCore - ASP.NET Core middleware and filters
  • Authlink.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, and EmailMatchesRecipient: whether the verified email is the address the registration link was sent to. When it is false, the invitation may have been forwarded, so do not automatically link the account to the invited person.

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

https://docs.authlink.co.za

License

MIT

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.
  • 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.

Version Downloads Last Updated
1.4.0 536 10/23/2026
1.3.1 137 10/2/2026
1.3.0 1,101 9/16/2026
1.2.0 436 9/7/2026
1.1.0 553 7/24/2026
1.0.3 231 3/13/2026
1.0.2 179 3/13/2026
1.0.1 175 3/12/2026
1.0.0 167 3/6/2026