ActiveLogin.Authentication.BankId.Api 10.0.1

Prefix Reserved
dotnet add package ActiveLogin.Authentication.BankId.Api --version 10.0.1                
NuGet\Install-Package ActiveLogin.Authentication.BankId.Api -Version 10.0.1                
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="10.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ActiveLogin.Authentication.BankId.Api --version 10.0.1                
#r "nuget: ActiveLogin.Authentication.BankId.Api, 10.0.1"                
#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=10.0.1

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

ActiveLogin.Authentication.BankId.Api

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.

https://www.activelogin.net/

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.

https://www.activesolution.se/

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

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

ActiveLogin.Authentication.BankId.Core

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.1 1,140 10/18/2024
10.0.0 759 9/27/2024
10.0.0-rc-2 333 8/27/2024
10.0.0-rc-1 197 8/23/2024
10.0.0-beta-1 158 4/30/2024
9.0.0 8,726 4/30/2024
9.0.0-rc-1 183 4/18/2024
8.0.0 5,978 2/21/2024
8.0.0-beta-1 455 1/8/2024
8.0.0-alpha-1 159 1/3/2024
7.0.0 16,421 6/30/2023
7.0.0-rc-1 230 6/28/2023
7.0.0-beta-1 242 6/8/2023
7.0.0-alpha-1 238 5/22/2023
6.0.3 19,962 10/5/2022
6.0.2 7,675 9/8/2022
6.0.1 1,204 9/1/2022
6.0.0 1,478 8/25/2022
6.0.0-rc-1 297 8/25/2022
6.0.0-beta-2 407 6/22/2022
6.0.0-beta-1 289 6/3/2022
5.0.0 11,845 4/28/2022
5.0.0-rc-2 448 4/28/2022
5.0.0-rc-1 419 4/26/2022
5.0.0-alpha-3 1,462 2/19/2022
5.0.0-alpha-2 513 2/7/2022
4.0.0 40,120 10/27/2020
4.0.0-rc-1 1,239 6/15/2020
4.0.0-beta-4 1,059 6/10/2020
4.0.0-beta-3 1,030 6/2/2020
4.0.0-beta-2 932 5/18/2020
4.0.0-beta-1 965 5/15/2020
3.0.0 12,633 1/21/2020
3.0.0-rc-1 761 1/13/2020
3.0.0-beta-2 719 12/20/2019
3.0.0-beta-1 953 12/3/2019
3.0.0-alpha-1 588 11/21/2019
2.0.0 11,310 9/6/2019
2.0.0-rc-1 1,127 4/30/2019
1.0.0 3,550 2/5/2019
1.0.0-rc-4 834 2/4/2019
1.0.0-rc-3 840 2/1/2019
1.0.0-rc-2 829 1/25/2019
1.0.0-rc-1 929 12/16/2018
1.0.0-alpha-4 959 10/27/2018
1.0.0-alpha-1 916 9/23/2018
0.3.4 1,898 7/23/2018
0.3.3 1,799 7/22/2018
0.3.1 2,564 7/20/2018
0.3.0 1,226 7/18/2018
0.1.7 1,002 7/13/2018
0.1.6 1,028 7/13/2018
0.1.3 1,952 7/11/2018