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
<PackageReference Include="Authlink.Portal.Client.Core" Version="2.11.0" />
<PackageVersion Include="Authlink.Portal.Client.Core" Version="2.11.0" />
<PackageReference Include="Authlink.Portal.Client.Core" />
paket add Authlink.Portal.Client.Core --version 2.11.0
#r "nuget: Authlink.Portal.Client.Core, 2.11.0"
#:package Authlink.Portal.Client.Core@2.11.0
#addin nuget:?package=Authlink.Portal.Client.Core&version=2.11.0
#tool nuget:?package=Authlink.Portal.Client.Core&version=2.11.0
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/GetRegistrationLinksResponsefor listing registration links with filtering - Added
GetRegistrationLinkRequest/GetRegistrationLinkResponsefor retrieving a single registration link - Added
GetRegistrationLinkBatchRequest/GetRegistrationLinkBatchResponsefor retrieving batch details - Added
CreateRegistrationLinkRequest/CreateRegistrationLinkResponsefor creating single registration links - Added
CreateRegistrationLinkBatchRequest/CreateRegistrationLinkBatchResponsefor batch creation - Added
RevokeRegistrationLinkRequest/RevokeRegistrationLinkResponsefor revoking registration links - Added
ResendRegistrationLinkRequest/ResendRegistrationLinkResponsefor resending emails - Added
RegistrationLinkDto,RegistrationLinkListDto,RegistrationLinkBatchDto,RecipientInfoDtoDTOs - Added
RegistrationLinkStatusandRegistrationLinkBatchStatusenums - 7 new methods on
IPortalClientfor 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
License
MIT
| Product | Versions 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. |
-
net9.0
- ErrorOr (>= 2.0.1)
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 |