ActiveLogin.Authentication.BankId.AspNetCore 5.0.0 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET 6.0
Install-Package ActiveLogin.Authentication.BankId.AspNetCore -Version 5.0.0
dotnet add package ActiveLogin.Authentication.BankId.AspNetCore --version 5.0.0
<PackageReference Include="ActiveLogin.Authentication.BankId.AspNetCore" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ActiveLogin.Authentication.BankId.AspNetCore --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ActiveLogin.Authentication.BankId.AspNetCore, 5.0.0"
#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.AspNetCore as a Cake Addin
#addin nuget:?package=ActiveLogin.Authentication.BankId.AspNetCore&version=5.0.0

// Install ActiveLogin.Authentication.BankId.AspNetCore as a Cake Tool
#tool nuget:?package=ActiveLogin.Authentication.BankId.AspNetCore&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ActiveLogin.Authentication.BankId.AspNetCore

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

Sample usage of the ASP.NET authentication module.

Development

services
    .AddAuthentication()
    .AddBankId(builder =>
    {
        builder
            .AddDebugEventListener();
            .UseSimulatedEnvironment()
            .AddSameDevice();
    });

Production

services
    .AddAuthentication()
    .AddBankId(builder =>
    {
        builder
            .AddApplicationInsightsEventListener(options =>
            {
                options.LogUserPersonalIdentityNumberHints = true;
                options.LogCertificateDates = true;
            })
            .UseProductionEnvironment()
            .UseClientCertificateFromAzureKeyVault(Configuration.GetSection("ActiveLogin:BankId:ClientCertificate"))
            .UseRootCaCertificate(Path.Combine(_environment.ContentRootPath, Configuration.GetValue<string>("ActiveLogin:BankId:CaCertificate:FilePath")))
            .AddSameDevice()
            .AddOtherDevice()
            .UseQrCoderQrCodeGenerator();
    });

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 Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on ActiveLogin.Authentication.BankId.AspNetCore:

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

Azure KeyVault integrations for ActiveLogin.Authentication.BankId.AspNetCore.

ActiveLogin.Authentication.BankId.AspNetCore.QRCoder The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

QR code generation for ActiveLogin.Authentication.BankId.AspNetCore using the QRCoder library.

ActiveLogin.Authentication.BankId.AspNetCore.UAParser The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Device detection for ActiveLogin.Authentication.BankId.AspNetCore using UA Parser.

ActiveLogin.Authentication.BankId.AspNetCore.AzureMonitor The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Azure Monitor (Application Insights) integrations for ActiveLogin.Authentication.BankId.AspNetCore.

RegionOrebroLan.ActiveLogin.Authentication

Additions and extensions for ActiveLogin.Authentication.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0 164 4/28/2022
5.0.0-rc-2 34 4/28/2022
5.0.0-rc-1 45 4/26/2022
5.0.0-alpha-3 106 2/19/2022
5.0.0-alpha-2 68 2/7/2022
4.1.0 3,233 2/3/2022
4.1.0-beta-1 750 1/18/2022
4.0.0 18,426 10/27/2020
4.0.0-rc-1 512 6/15/2020
4.0.0-beta-4 469 6/10/2020
4.0.0-beta-3 481 6/2/2020
4.0.0-beta-2 414 5/18/2020
4.0.0-beta-1 404 5/15/2020
3.0.0 8,726 1/21/2020
3.0.0-rc-1 521 1/13/2020
3.0.0-beta-2 480 12/20/2019
3.0.0-beta-1 683 12/3/2019
3.0.0-alpha-1 321 11/21/2019
2.0.1 2,073 9/11/2019
2.0.0 612 9/6/2019
2.0.0-rc-1 671 4/30/2019
1.0.0 1,126 2/5/2019
1.0.0-rc-4 571 2/4/2019
1.0.0-rc-3 571 2/1/2019
1.0.0-rc-2 569 1/25/2019
1.0.0-rc-1 653 12/16/2018
1.0.0-alpha-4 664 10/27/2018
1.0.0-alpha-1 614 9/23/2018
0.3.4 1,001 7/23/2018
0.3.3 904 7/22/2018
0.3.2 899 7/22/2018
0.3.1 861 7/20/2018
0.3.0 790 7/18/2018
0.1.8 756 7/13/2018
0.1.7 783 7/13/2018
0.1.5 799 7/11/2018