HelseID.Library
0.1.14
Prefix Reserved
See the version list below for details.
dotnet add package HelseID.Library --version 0.1.14
NuGet\Install-Package HelseID.Library -Version 0.1.14
<PackageReference Include="HelseID.Library" Version="0.1.14" />
<PackageVersion Include="HelseID.Library" Version="0.1.14" />
<PackageReference Include="HelseID.Library" />
paket add HelseID.Library --version 0.1.14
#r "nuget: HelseID.Library, 0.1.14"
#:package HelseID.Library@0.1.14
#addin nuget:?package=HelseID.Library&version=0.1.14
#tool nuget:?package=HelseID.Library&version=0.1.14
HelseId.Library
The easiest way to integrate with HelseID! This library conforms to the requirements from the HelseID security profile for the machine-to-machine flow.
Warning: This is still a work in progress, so do not use it in production. You can expect major breaking changes with each update.
How to use:
The library follows the traditional service builder-pattern that is used in most .NET applications.
// Read configuration variables from the HelseID-section in appsettings.json
var helseIdConfiguration = HelseIdConfiguration.ConfigurationFromAppSettings();
// Setup a client for machine to machine
services.AddHelseIdMachineToMachine(helseIdConfiguration);
Then later you will use an instance of the IHelseIdMachineToMachineFlow to retrieve an access token:
var accessToken = await helseIdMachineToMachineFlow.GetAccessToken();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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. |
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 9.0.2)
- Microsoft.Extensions.Hosting (>= 9.0.4)
- Microsoft.Extensions.Http (>= 9.0.5)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.6.0)
-
net9.0
- Microsoft.Extensions.Caching.Memory (>= 9.0.2)
- Microsoft.Extensions.Hosting (>= 9.0.4)
- Microsoft.Extensions.Http (>= 9.0.5)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.6.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on HelseID.Library:
| Package | Downloads |
|---|---|
|
HelseID.Library.ClientCredentials
This package implements the Client Credentials flow in HelseID |
|
|
HelseID.Library.MachineToMachine
This package implements the machine-to-machine flow in HelseID |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.3 | 5,248 | 3/17/2026 |
| 1.1.2 | 1,881 | 1/22/2026 |
| 1.1.1 | 1,617 | 1/14/2026 |
| 1.1.0 | 294 | 1/8/2026 |
| 1.0.0 | 1,192 | 11/12/2025 |
| 0.9.4 | 911 | 11/5/2025 |
| 0.9.3 | 325 | 11/3/2025 |
| 0.9.2 | 231 | 10/31/2025 |
| 0.9.1 | 344 | 10/27/2025 |
| 0.9.0 | 262 | 10/22/2025 |
| 0.1.14 | 898 | 10/8/2025 |
| 0.1.13 | 500 | 10/2/2025 |
| 0.1.12 | 246 | 9/26/2025 |
| 0.1.11 | 902 | 7/3/2025 |
| 0.1.10 | 222 | 7/2/2025 |
| 0.1.9 | 261 | 7/2/2025 |
| 0.1.8-alpha | 167 | 6/27/2025 |
| 0.1.7-alpha | 199 | 6/27/2025 |
| 0.1.6-alpha | 219 | 6/25/2025 |
| 0.1.5-alpha | 213 | 6/17/2025 |