punkTwoFactor 10.6.1
dotnet add package punkTwoFactor --version 10.6.1
NuGet\Install-Package punkTwoFactor -Version 10.6.1
<PackageReference Include="punkTwoFactor" Version="10.6.1" />
paket add punkTwoFactor --version 10.6.1
#r "nuget: punkTwoFactor, 10.6.1"
// Install punkTwoFactor as a Cake Addin #addin nuget:?package=punkTwoFactor&version=10.6.1 // Install punkTwoFactor as a Cake Tool #tool nuget:?package=punkTwoFactor&version=10.6.1
punkTwoFactor
A simple Umbraco package that uses the documented implementation from Umbraco https://our.umbraco.com/documentation/Reference/Security/two-factor-authentication/#two-factor-authentication-for-users and adds some additional tweaks.
Nuget
Install-Package punkTwoFactor
https://www.nuget.org/packages/punkTwoFactor/
Installation
Add the following section to your appsettings.json:
"punkTwoFactor": {
"ProviderName": "Two Factor Authentication",
"Issuer": "Two Factor Authentication - Dev",
"BackOfficeView": "..\\App_Plugins\\punkTwoFactor\\twoFactorProviderGoogleAuthenticator.html"
}
Add using statement:
using punkTwoFactor.Extensions;
Add the following code block within your ConfigureServices section above the Umbraco setup:
var twoFactorConfiguration = services.ConfigureTwoFactorConfig(_config);
Now add the "AddBackOfficeTwoFactorAuthentication" extension to the Umbraco setup.
services
.AddUmbraco(_env, _config)
.AddBackOffice()
.AddWebsite()
.AddComposers()
.AddServices()
.AddNotifications()
.AddBackOfficeTwoFactorAuthentication(twoFactorConfiguration)
.Build();
Compatibility
- Umbraco 10+
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- GoogleAuthenticator (>= 3.0.0)
- Umbraco.Cms.Core (>= 10.6.1)
- Umbraco.Cms.Web.BackOffice (>= 10.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
10.6.1 | 1,411 | 7/14/2023 |
10.4.4 | 2,269 | 3/17/2023 |
10.4.3 | 253 | 3/17/2023 |
10.4.2 | 349 | 1/25/2023 |
10.4.1 | 279 | 1/25/2023 |
10.1.1 | 540 | 8/24/2022 |
10.1.0 | 472 | 8/12/2022 |
1.0.5 | 502 | 6/15/2022 |
1.0.4 | 493 | 5/23/2022 |
1.0.3 | 465 | 5/23/2022 |
1.0.2 | 498 | 5/23/2022 |
1.0.1 | 455 | 5/23/2022 |
1.0.0 | 469 | 5/23/2022 |
0.0.9 | 493 | 5/23/2022 |
0.0.7 | 493 | 5/18/2022 |
0.0.6 | 496 | 5/18/2022 |
0.0.5 | 466 | 5/18/2022 |
0.0.4 | 478 | 5/18/2022 |
0.0.2 | 501 | 5/18/2022 |