HelseID.Library.Mocks
0.1.14
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package HelseID.Library.Mocks --version 0.1.14
NuGet\Install-Package HelseID.Library.Mocks -Version 0.1.14
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="HelseID.Library.Mocks" Version="0.1.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HelseID.Library.Mocks" Version="0.1.14" />
<PackageReference Include="HelseID.Library.Mocks" />
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 HelseID.Library.Mocks --version 0.1.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HelseID.Library.Mocks, 0.1.14"
#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 HelseID.Library.Mocks@0.1.14
#: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=HelseID.Library.Mocks&version=0.1.14
#tool nuget:?package=HelseID.Library.Mocks&version=0.1.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- HelseID.Library.ClientCredentials (>= 0.1.14)
- HelseID.Library.SelfService (>= 0.1.14)
-
net9.0
- HelseID.Library.ClientCredentials (>= 0.1.14)
- HelseID.Library.SelfService (>= 0.1.14)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.3 | 402 | 3/17/2026 |
| 1.1.2 | 463 | 1/22/2026 |
| 1.1.1 | 333 | 1/14/2026 |
| 1.1.0 | 161 | 1/8/2026 |
| 1.0.0 | 565 | 11/12/2025 |
| 0.9.4 | 399 | 11/5/2025 |
| 0.9.3 | 262 | 11/3/2025 |
| 0.9.2 | 185 | 10/31/2025 |
| 0.9.1 | 262 | 10/27/2025 |
| 0.9.0 | 211 | 10/22/2025 |
| 0.1.14 | 401 | 10/8/2025 |
| 0.1.13 | 274 | 10/3/2025 |
| 0.1.12 | 199 | 9/26/2025 |
| 0.0.3 | 572 | 7/3/2025 |
| 0.0.2 | 198 | 7/2/2025 |
| 0.0.1 | 193 | 7/2/2025 |