ActiveLogin.Authentication.BankId.Api 6.0.3

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 2.0
dotnet add package ActiveLogin.Authentication.BankId.Api --version 6.0.3
NuGet\Install-Package ActiveLogin.Authentication.BankId.Api -Version 6.0.3
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="ActiveLogin.Authentication.BankId.Api" Version="6.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ActiveLogin.Authentication.BankId.Api --version 6.0.3
#r "nuget: ActiveLogin.Authentication.BankId.Api, 6.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ActiveLogin.Authentication.BankId.Api as a Cake Addin
#addin nuget:?package=ActiveLogin.Authentication.BankId.Api&version=6.0.3

// Install ActiveLogin.Authentication.BankId.Api as a Cake Tool
#tool nuget:?package=ActiveLogin.Authentication.BankId.Api&version=6.0.3


ActiveLogin.Authentication enables an application to support Swedish BankID (svenskt BankID) authentication in .NET. Built on NET Standard and packaged as NuGet-packages they are easy to install and use on multiple platforms.

Free to use, commercial support and training is available if you need assistance or a quick start.

Sample usage

The constructor for the api client takes an HttpClient and you need to configure that HttpClient with a BaseAddress, Tls12, client certificates etc. depending on your needs.

The client have these public methods.

public class BankIdApiClient : IBankIdApiClient
    public Task<AuthResponse> AuthAsync(AuthRequest request) { ... }
    public Task<SignResponse> SignAsync(SignRequest request) { ... }
    public Task<CollectResponse> CollectAsync(CollectRequest request) { ... }
    public Task<CancelResponse> CancelAsync(CancelRequest request) { ... }

Full documentation

For full documentation and samples, see the Readme in our GitHub repo.

Active Login

Active Login is an Open Source project built on .NET that makes it easy to integrate with leading Swedish authentication services like BankID.

Active Solution

Active Login is built, maintained and sponsored by Active Solution. Active Solution is located in Stockholm (Sweden) and provides IT consulting with focus on web, cloud and AI.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ActiveLogin.Authentication.BankId.Api:

Package Downloads
ActiveLogin.Authentication.BankId.AspNetCore The ID prefix of this package has been reserved for one of the owners of this package by

ASP.NET authentication module that enables an application to support Swedish BankID's (svenskt BankIDs) authentication workflow.

ActiveLogin.Authentication.BankId.Core The ID prefix of this package has been reserved for one of the owners of this package by

Core functionality to support Swedish BankID's (svenskt BankIDs) authentication workflow.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.3 4,037 10/5/2022
6.0.2 2,678 9/8/2022
6.0.1 628 9/1/2022
6.0.0 865 8/25/2022
6.0.0-rc-1 76 8/25/2022
6.0.0-beta-2 185 6/22/2022
6.0.0-beta-1 83 6/3/2022
5.0.0 7,821 4/28/2022
5.0.0-rc-2 78 4/28/2022
5.0.0-rc-1 81 4/26/2022
5.0.0-alpha-3 531 2/19/2022
5.0.0-alpha-2 103 2/7/2022
4.0.0 34,114 10/27/2020
4.0.0-rc-1 783 6/15/2020
4.0.0-beta-4 541 6/10/2020
4.0.0-beta-3 556 6/2/2020
4.0.0-beta-2 480 5/18/2020
4.0.0-beta-1 494 5/15/2020
3.0.0 10,942 1/21/2020
3.0.0-rc-1 587 1/13/2020
3.0.0-beta-2 557 12/20/2019
3.0.0-beta-1 784 12/3/2019
3.0.0-alpha-1 447 11/21/2019
2.0.0 9,959 9/6/2019
2.0.0-rc-1 811 4/30/2019
1.0.0 3,068 2/5/2019
1.0.0-rc-4 656 2/4/2019
1.0.0-rc-3 678 2/1/2019
1.0.0-rc-2 669 1/25/2019
1.0.0-rc-1 754 12/16/2018
1.0.0-alpha-4 769 10/27/2018
1.0.0-alpha-1 735 9/23/2018
0.3.4 1,473 7/23/2018
0.3.3 1,385 7/22/2018
0.3.1 1,939 7/20/2018
0.3.0 980 7/18/2018
0.1.7 827 7/13/2018
0.1.6 839 7/13/2018
0.1.3 1,569 7/11/2018