Authlink.Portal.Client.Core 2.11.0

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

Package Overview

Authlink.Portal.Client.Core is a low-level, dependency-free library that defines interfaces, data contracts, and shared models used by client SDKs that integrate with Authlink Portal.

It is intended to be consumed by higher-level packages such as:

  • Authlink.Portal.Client.Http

Install

dotnet add package Authlink.Portal.Client.Core

Or via Package Manager:

PM> Install-Package Authlink.Portal.Client.Core

Purpose

This package serves as a foundation layer, enabling:

  • Type-safe error handling with ErrorOr<T>
  • Comprehensive error information (HTTP status codes, response bodies, exception details)
  • Decoupled, testable client implementations
  • Plug-and-play support across .NET environments (console, web, serverless)

What's New in v2.11.0

New Features - Registration Link Management:

  • Added GetRegistrationLinksRequest / GetRegistrationLinksResponse for listing registration links with filtering
  • Added GetRegistrationLinkRequest / GetRegistrationLinkResponse for retrieving a single registration link
  • Added GetRegistrationLinkBatchRequest / GetRegistrationLinkBatchResponse for retrieving batch details
  • Added CreateRegistrationLinkRequest / CreateRegistrationLinkResponse for creating single registration links
  • Added CreateRegistrationLinkBatchRequest / CreateRegistrationLinkBatchResponse for batch creation
  • Added RevokeRegistrationLinkRequest / RevokeRegistrationLinkResponse for revoking registration links
  • Added ResendRegistrationLinkRequest / ResendRegistrationLinkResponse for resending emails
  • Added RegistrationLinkDto, RegistrationLinkListDto, RegistrationLinkBatchDto, RecipientInfoDto DTOs
  • Added RegistrationLinkStatus and RegistrationLinkBatchStatus enums
  • 7 new methods on IPortalClient for registration link management

See CHANGELOG.md for full version history.

Error Handling

All methods return ErrorOr<T> for explicit error handling:

var result = await client.GetUsersAsync(request);

if (result.IsError)
{
    var error = result.FirstError;
    Console.WriteLine($"Error: {error.Code} - {error.Description}");

    // Access metadata
    if (error.Metadata.TryGetValue("StatusCode", out var statusCode))
    {
        Console.WriteLine($"HTTP Status: {statusCode}");
    }
    return;
}

var response = result.Value;

Error Types

The package includes PortalClientErrors with predefined error factories:

  • HTTP request failures (with status codes and response bodies)
  • Not Found (404)
  • Validation failures (400)
  • Unauthorized (401)
  • Forbidden (403)
  • Conflict (409)
  • Network errors
  • Timeouts
  • Deserialization errors

Documentation

https://docs.authlink.co.za

License

MIT

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Authlink.Portal.Client.Core:

Package Downloads
Authlink.Portal.Client.Http

System.Net implementation of the Authlink Portal client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.11.0 0 3/10/2026
2.10.0 33 3/6/2026
2.9.0 109 2/18/2026
2.8.0 107 2/18/2026
2.7.0 117 1/30/2026
2.6.0 108 1/29/2026
2.5.0 112 1/29/2026
2.4.0 103 1/28/2026
2.3.0 120 1/7/2026
2.2.4 107 1/7/2026
2.2.3 114 1/7/2026
2.2.2 316 11/12/2025
2.2.1 249 11/10/2025
2.2.0 254 11/10/2025
2.1.0 218 11/4/2025
2.0.0 230 11/3/2025
1.0.1 212 10/29/2025
1.0.0 192 10/10/2025