HelseID.Library.SelfService
0.1.14
Prefix Reserved
See the version list below for details.
dotnet add package HelseID.Library.SelfService --version 0.1.14
NuGet\Install-Package HelseID.Library.SelfService -Version 0.1.14
<PackageReference Include="HelseID.Library.SelfService" Version="0.1.14" />
<PackageVersion Include="HelseID.Library.SelfService" Version="0.1.14" />
<PackageReference Include="HelseID.Library.SelfService" />
paket add HelseID.Library.SelfService --version 0.1.14
#r "nuget: HelseID.Library.SelfService, 0.1.14"
#:package HelseID.Library.SelfService@0.1.14
#addin nuget:?package=HelseID.Library.SelfService&version=0.1.14
#tool nuget:?package=HelseID.Library.SelfService&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
- HelseID.Library.ClientCredentials (>= 0.1.14)
-
net9.0
- HelseID.Library.ClientCredentials (>= 0.1.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HelseID.Library.SelfService:
| Package | Downloads |
|---|---|
|
HelseID.Library.Mocks
Mock implementations of relevant classes from HelseId.Library |
GitHub repositories
This package is not used by any popular GitHub repositories.