ActiveLogin.Authentication.BankId.Api 9.0.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package ActiveLogin.Authentication.BankId.Api --version 9.0.0
NuGet\Install-Package ActiveLogin.Authentication.BankId.Api -Version 9.0.0
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="9.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ActiveLogin.Authentication.BankId.Api --version 9.0.0
#r "nuget: ActiveLogin.Authentication.BankId.Api, 9.0.0"
#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.
// Install ActiveLogin.Authentication.BankId.Api as a Cake Addin
#addin nuget:?package=ActiveLogin.Authentication.BankId.Api&version=9.0.0

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


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.

There is one Api for the "App API" and one for the "Verify API".

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 clients have these public methods.

App API:

public class BankIdAppApiClient : IBankIdAppApiClient
    public Task<AuthResponse> AuthAsync(AuthRequest request) { ... }
    public Task<SignResponse> SignAsync(SignRequest request) { ... }
    public Task<PhoneAuthResponse> PhoneAuthAsync(PhoneAuthRequest request) { ... }
    public Task<PhoneSignResponse> PhoneSignAsync(PhoneSignRequest request) { ... }
    public Task<CollectResponse> CollectAsync(CollectRequest request) { ... }
    public Task<CancelResponse> CancelAsync(CancelRequest request) { ... }

Verify API:

public class BankIdVerifyApiClient : IBankIdVerifyApiClient
    public Task<VerifyResponse> VerifyAsync(VerifyRequest 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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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
10.0.0-beta-1 109 4/30/2024
9.0.0 1,106 4/30/2024
9.0.0-rc-1 135 4/18/2024
8.0.0 3,038 2/21/2024
8.0.0-beta-1 340 1/8/2024
8.0.0-alpha-1 98 1/3/2024
7.0.0 12,979 6/30/2023
7.0.0-rc-1 181 6/28/2023
7.0.0-beta-1 187 6/8/2023
7.0.0-alpha-1 181 5/22/2023
6.0.3 18,818 10/5/2022
6.0.2 7,198 9/8/2022
6.0.1 1,150 9/1/2022
6.0.0 1,405 8/25/2022
6.0.0-rc-1 240 8/25/2022
6.0.0-beta-2 332 6/22/2022
6.0.0-beta-1 230 6/3/2022
5.0.0 11,698 4/28/2022
5.0.0-rc-2 395 4/28/2022
5.0.0-rc-1 366 4/26/2022
5.0.0-alpha-3 1,409 2/19/2022
5.0.0-alpha-2 460 2/7/2022
4.0.0 39,903 10/27/2020
4.0.0-rc-1 1,175 6/15/2020
4.0.0-beta-4 994 6/10/2020
4.0.0-beta-3 959 6/2/2020
4.0.0-beta-2 868 5/18/2020
4.0.0-beta-1 900 5/15/2020
3.0.0 12,495 1/21/2020
3.0.0-rc-1 702 1/13/2020
3.0.0-beta-2 671 12/20/2019
3.0.0-beta-1 911 12/3/2019
3.0.0-alpha-1 549 11/21/2019
2.0.0 11,196 9/6/2019
2.0.0-rc-1 1,076 4/30/2019
1.0.0 3,488 2/5/2019
1.0.0-rc-4 776 2/4/2019
1.0.0-rc-3 787 2/1/2019
1.0.0-rc-2 787 1/25/2019
1.0.0-rc-1 881 12/16/2018
1.0.0-alpha-4 903 10/27/2018
1.0.0-alpha-1 863 9/23/2018
0.3.4 1,841 7/23/2018
0.3.3 1,728 7/22/2018
0.3.1 2,472 7/20/2018
0.3.0 1,176 7/18/2018
0.1.7 969 7/13/2018
0.1.6 1,000 7/13/2018
0.1.3 1,878 7/11/2018