ActiveLogin.Authentication.BankId.Api 10.0.0-beta-1

Prefix Reserved
This is a prerelease version of ActiveLogin.Authentication.BankId.Api.
There is a newer version of this package available.
See the version list below for details.
dotnet add package ActiveLogin.Authentication.BankId.Api --version 10.0.0-beta-1                
NuGet\Install-Package ActiveLogin.Authentication.BankId.Api -Version 10.0.0-beta-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.0-beta-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.0-beta-1                
#r "nuget: ActiveLogin.Authentication.BankId.Api, 10.0.0-beta-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.0-beta-1&prerelease

// Install ActiveLogin.Authentication.BankId.Api as a Cake Tool
#tool nuget:?package=ActiveLogin.Authentication.BankId.Api&version=10.0.0-beta-1&prerelease                

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,627 10/18/2024
10.0.0 770 9/27/2024
10.0.0-rc-2 334 8/27/2024
10.0.0-rc-1 198 8/23/2024
10.0.0-beta-1 159 4/30/2024
9.0.0 8,965 4/30/2024
9.0.0-rc-1 188 4/18/2024
8.0.0 6,198 2/21/2024
8.0.0-beta-1 458 1/8/2024
8.0.0-alpha-1 160 1/3/2024
7.0.0 16,651 6/30/2023
7.0.0-rc-1 231 6/28/2023
7.0.0-beta-1 243 6/8/2023
7.0.0-alpha-1 239 5/22/2023
6.0.3 20,000 10/5/2022
6.0.2 7,736 9/8/2022
6.0.1 1,205 9/1/2022
6.0.0 1,479 8/25/2022
6.0.0-rc-1 298 8/25/2022
6.0.0-beta-2 408 6/22/2022
6.0.0-beta-1 290 6/3/2022
5.0.0 11,848 4/28/2022
5.0.0-rc-2 449 4/28/2022
5.0.0-rc-1 420 4/26/2022
5.0.0-alpha-3 1,463 2/19/2022
5.0.0-alpha-2 516 2/7/2022
4.0.0 40,135 10/27/2020
4.0.0-rc-1 1,240 6/15/2020
4.0.0-beta-4 1,060 6/10/2020
4.0.0-beta-3 1,031 6/2/2020
4.0.0-beta-2 933 5/18/2020
4.0.0-beta-1 966 5/15/2020
3.0.0 12,650 1/21/2020
3.0.0-rc-1 762 1/13/2020
3.0.0-beta-2 720 12/20/2019
3.0.0-beta-1 954 12/3/2019
3.0.0-alpha-1 589 11/21/2019
2.0.0 11,316 9/6/2019
2.0.0-rc-1 1,128 4/30/2019
1.0.0 3,551 2/5/2019
1.0.0-rc-4 835 2/4/2019
1.0.0-rc-3 841 2/1/2019
1.0.0-rc-2 830 1/25/2019
1.0.0-rc-1 932 12/16/2018
1.0.0-alpha-4 960 10/27/2018
1.0.0-alpha-1 917 9/23/2018
0.3.4 1,899 7/23/2018
0.3.3 1,800 7/22/2018
0.3.1 2,565 7/20/2018
0.3.0 1,227 7/18/2018
0.1.7 1,003 7/13/2018
0.1.6 1,031 7/13/2018
0.1.3 1,955 7/11/2018