ActiveLogin.Authentication.BankId.AspNetCore 8.0.0-alpha-1

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

// Install ActiveLogin.Authentication.BankId.AspNetCore as a Cake Tool
#tool nuget:?package=ActiveLogin.Authentication.BankId.AspNetCore&version=8.0.0-alpha-1&prerelease                

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
    .AddBankId(bankId =>
    {
        bankId.UseSimulatedEnvironment();
    });

services
    .AddAuthentication()
    .AddBankIdAuth(bankId =>
    {
        bankId.AddSameDevice();
    });

Production

services
    .AddBankId(bankId =>
    {
        bankId
            .AddApplicationInsightsEventListener(options =>
            {
                options.LogUserPersonalIdentityNumberHints = true;
                options.LogCertificateDates = true;
            })
            .UseProductionEnvironment()
            .UseClientCertificateFromAzureKeyVault(Configuration.GetSection("ActiveLogin:BankId:ClientCertificate"))
            .UseQrCoderQrCodeGenerator();
    });

services
    .AddAuthentication()
    .AddBankIdAuth(bankId =>
    {
        bankId
            .AddSameDevice()
            .AddOtherDevice();
    });

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 net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
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

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

ActiveLogin.Authentication.BankId.AspNetCore.QRCoder

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

ActiveLogin.Authentication.BankId.AspNetCore.UAParser

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

ActiveLogin.Authentication.BankId.AspNetCore.AzureMonitor

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
10.0.1 1,122 10/18/2024
10.0.0 700 9/27/2024
10.0.0-rc-2 275 8/27/2024
10.0.0-rc-1 148 8/23/2024
10.0.0-beta-1 119 4/30/2024
9.0.0 7,562 4/30/2024
9.0.0-rc-1 134 4/18/2024
8.0.0 5,381 2/21/2024
8.0.0-beta-1 184 1/8/2024
8.0.0-alpha-1 132 1/3/2024
7.0.0 9,960 6/30/2023
7.0.0-rc-1 149 6/28/2023
7.0.0-beta-1 164 6/8/2023
7.0.0-alpha-1 175 5/22/2023
6.0.3 16,895 10/5/2022
6.0.2 1,478 9/8/2022
6.0.1 465 9/1/2022
6.0.0 754 8/25/2022
6.0.0-rc-1 206 8/25/2022
6.0.0-beta-2 284 6/22/2022
6.0.0-beta-1 193 6/3/2022
5.0.0 9,552 4/28/2022
5.0.0-rc-2 443 4/28/2022
5.0.0-rc-1 404 4/26/2022
5.0.0-alpha-3 521 2/19/2022
5.0.0-alpha-2 509 2/7/2022
4.1.0 5,764 2/3/2022
4.1.0-beta-1 939 1/18/2022
4.0.0 25,570 10/27/2020
4.0.0-rc-1 999 6/15/2020
4.0.0-beta-4 1,008 6/10/2020
4.0.0-beta-3 985 6/2/2020
4.0.0-beta-2 880 5/18/2020
4.0.0-beta-1 889 5/15/2020
3.0.0 9,608 1/21/2020
3.0.0-rc-1 685 1/13/2020
3.0.0-beta-2 669 12/20/2019
3.0.0-beta-1 858 12/3/2019
3.0.0-alpha-1 474 11/21/2019
2.0.1 2,807 9/11/2019
2.0.0 1,247 9/6/2019
2.0.0-rc-1 856 4/30/2019
1.0.0 1,751 2/5/2019
1.0.0-rc-4 764 2/4/2019
1.0.0-rc-3 761 2/1/2019
1.0.0-rc-2 772 1/25/2019
1.0.0-rc-1 853 12/16/2018
1.0.0-alpha-4 880 10/27/2018
1.0.0-alpha-1 824 9/23/2018
0.3.4 1,674 7/23/2018
0.3.3 1,599 7/22/2018
0.3.2 1,582 7/22/2018
0.3.1 1,553 7/20/2018
0.3.0 1,122 7/18/2018
0.1.8 1,104 7/13/2018
0.1.7 1,132 7/13/2018
0.1.5 1,135 7/11/2018