Basilisque.Base.Auth.Client
1.0.0-preview.12
dotnet add package Basilisque.Base.Auth.Client --version 1.0.0-preview.12
NuGet\Install-Package Basilisque.Base.Auth.Client -Version 1.0.0-preview.12
<PackageReference Include="Basilisque.Base.Auth.Client" Version="1.0.0-preview.12" />
<PackageVersion Include="Basilisque.Base.Auth.Client" Version="1.0.0-preview.12" />
<PackageReference Include="Basilisque.Base.Auth.Client" />
paket add Basilisque.Base.Auth.Client --version 1.0.0-preview.12
#r "nuget: Basilisque.Base.Auth.Client, 1.0.0-preview.12"
#:package Basilisque.Base.Auth.Client@1.0.0-preview.12
#addin nuget:?package=Basilisque.Base.Auth.Client&version=1.0.0-preview.12&prerelease
#tool nuget:?package=Basilisque.Base.Auth.Client&version=1.0.0-preview.12&prerelease
Basilisque - Base.Auth
Overview
A modular authentication library based on OpenIddict. It provides machine-to-machine authentication using
Client Credentials and private_key_jwt, product service identities, and API token validation.
It also supports local user sign-in with ASP.NET Core Identity and Authorization Code with PKCE.
Base.Auth messages use English by default and include German satellite assemblies.
Set CultureInfo.CurrentUICulture in the host to select the language, or configure
request localization for an ASP.NET Core host. The MachineService sample supports
English and German requests. Framework messages and descriptions supplied by an
external authorization server follow their respective sources.
To override Base.Auth protocol error descriptions, register a closed
IStringLocalizer<AuthProtocolMessages> in the host, for example
builder.Services.AddScoped<IStringLocalizer<AuthProtocolMessages>, PortalAuthLocalizer>().
Use the keys on Basilisque.Base.Auth.Server.AuthProtocolMessages. Return a
LocalizedString with ResourceNotFound = true for each key and culture that
should use the built-in resources. Protocol error codes stay stable across cultures.
Reference applications
The reference applications include an ASP.NET Core service
(samples/MachineService) and a console client for .NET and .NET Framework 4.8
(samples/MachineClient).
dotnet run --project samples/MachineService -f net10.0 -- --initialize-database true
The development service requires a trusted HTTPS development certificate.
Building and testing
The root solution contains the libraries, tests, samples, and verification tools.
src/: reusable libraries and their tests.samples/: executable reference applications that demonstrate library integration.tools/: compatibility verification programs.docs/: architecture and integration documentation.
Shared build settings, package versions, and the .NET tool manifest live at the repository root.
Build output is written to artifacts/. Use the .NET 11 SDK to build both .NET 10 and .NET 11 targets.
Install both runtimes to run the full test suite.
dotnet build Basilisque.Base.Auth.slnx
dotnet test --solution Basilisque.Base.Auth.slnx --results-directory artifacts/test-results
See the testing guide for solution filters, Visual Studio, and Windows compatibility requirements.
Documentation
The documentation index links to the integration and architecture guides. Start with the M2M guide for credentials, database selection, and client registration. See local user authentication for account provisioning and browser login.
License
The Basilisque framework (including this repository) is licensed under the Apache License, Version 2.0.
| 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. net11.0 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Basilisque.Base.Auth.Abstractions (>= 1.0.0-preview.12)
- Basilisque.DependencyInjection (>= 1.1.0-RC00026)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Http (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Options (>= 10.0.15)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.23.0)
- Microsoft.IdentityModel.Tokens (>= 8.23.0)
- OpenIddict.Client.SystemNetHttp (>= 7.9.0)
- System.Text.Json (>= 10.0.15)
-
net10.0
- Basilisque.Base.Auth.Abstractions (>= 1.0.0-preview.12)
- Basilisque.DependencyInjection (>= 1.1.0-RC00026)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Http (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Options (>= 10.0.15)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.23.0)
- Microsoft.IdentityModel.Tokens (>= 8.23.0)
- OpenIddict.Client.SystemNetHttp (>= 7.9.0)
-
net11.0
- Basilisque.Base.Auth.Abstractions (>= 1.0.0-preview.12)
- Basilisque.DependencyInjection (>= 1.1.0-RC00026)
- Microsoft.Extensions.Http (>= 11.0.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.23.0)
- Microsoft.IdentityModel.Tokens (>= 8.23.0)
- OpenIddict.Client.SystemNetHttp (>= 7.9.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Basilisque.Base.Auth.Client:
| Package | Downloads |
|---|---|
|
Basilisque.Base.Auth.Client.Credentials.DataProtection
Provides OpenIddict-based machine-to-machine authentication and extensible product identity infrastructure. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.12 | 43 | 11/30/2026 |