Authlink.Portal.Client.Core
2.2.3
See the version list below for details.
dotnet add package Authlink.Portal.Client.Core --version 2.2.3
NuGet\Install-Package Authlink.Portal.Client.Core -Version 2.2.3
<PackageReference Include="Authlink.Portal.Client.Core" Version="2.2.3" />
<PackageVersion Include="Authlink.Portal.Client.Core" Version="2.2.3" />
<PackageReference Include="Authlink.Portal.Client.Core" />
paket add Authlink.Portal.Client.Core --version 2.2.3
#r "nuget: Authlink.Portal.Client.Core, 2.2.3"
#:package Authlink.Portal.Client.Core@2.2.3
#addin nuget:?package=Authlink.Portal.Client.Core&version=2.2.3
#tool nuget:?package=Authlink.Portal.Client.Core&version=2.2.3
📦 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
v2.2.2
Maintenance Release:
- Version synchronized with
Authlink.Portal.Client.Httpv2.2.2 - No changes to core abstractions or contracts
- Supports enhanced testing capabilities in HTTP client implementation
v2.2.1
Maintenance Release:
- Version synchronized with
Authlink.Portal.Client.Httpv2.2.1 for consistency - No changes to core abstractions or contracts
v2.2.0
New Features:
- Added
TenantIdfiltering parameter toGetUsersRequestfor tenant-specific user queries - Added
Statusfiltering parameter toGetUsersRequestfor filtering users by status (Active, Inactive, Deleted)
Enhancements:
- Enhanced user query capabilities with status-based filtering
- Improved tenant-aware user retrieval
v2.1.0
New Features:
- Added
GetUserByEmailRequestandGetUserByEmailResponsefor retrieving users by email address - Added
GetUserByGovernmentIdRequestandGetUserByGovernmentIdResponsefor retrieving users by government identifier - Updated
IPortalClientinterface withGetUserByEmailAsyncandGetUserByGovernmentIdAsyncmethods
Enhancements:
- Improved documentation for all request/response models
v2.0
Breaking Changes:
All IPortalClient methods now return ErrorOr<TResponse> instead of throwing exceptions:
// v1.x - Exception-based error handling
Task<UsersResponse> UsersAsync(UsersRequest request, CancellationToken cancellationToken = default);
// v2.0 - ErrorOr-based error handling
Task<ErrorOr<UsersResponse>> UsersAsync(UsersRequest request, CancellationToken cancellationToken = default);
New Error Handling:
The package now includes PortalClientErrors with predefined error factories for common scenarios:
- HTTP request failures (with status codes and response bodies)
- Not Found (404)
- Validation failures (400)
- Unauthorized (401)
- Forbidden (403)
- Conflict (409)
- Deserialization errors
- Network errors
- Timeouts
All errors include rich metadata accessible via error.Metadata dictionary:
StatusCode- HTTP status codeResponseBody- Server response contentRequestPath- The request path that failedExceptionType&ExceptionMessage- Exception details
📚 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.10.0 | 29 | 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 | 314 | 11/12/2025 |
| 2.2.1 | 248 | 11/10/2025 |
| 2.2.0 | 253 | 11/10/2025 |
| 2.1.0 | 216 | 11/4/2025 |
| 2.0.0 | 230 | 11/3/2025 |
| 1.0.1 | 212 | 10/29/2025 |
| 1.0.0 | 192 | 10/10/2025 |