punkTwoFactor 10.6.1

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

NuGet release

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 629 7/14/2023
10.4.4 1,497 3/17/2023
10.4.3 222 3/17/2023
10.4.2 308 1/25/2023
10.4.1 258 1/25/2023
10.1.1 488 8/24/2022
10.1.0 431 8/12/2022
1.0.5 479 6/15/2022
1.0.4 472 5/23/2022
1.0.3 432 5/23/2022
1.0.2 478 5/23/2022
1.0.1 424 5/23/2022
1.0.0 437 5/23/2022
0.0.9 458 5/23/2022
0.0.7 458 5/18/2022
0.0.6 465 5/18/2022
0.0.5 433 5/18/2022
0.0.4 459 5/18/2022
0.0.2 468 5/18/2022