mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 06:54:19 +01:00
FIDO2/WebAuthN Support (#2356)
* FIDO2/WebAuthN Support This adds initial support for WebAuthN/FIDO2 as another MFA mode. U2F is still intact and runs alongside it for now. Once this is merged, I will start work on migrating U2F support to happen over the FIDO2 protocol instead. * Refactor and future proof system (prep work of seamless u2f migration) * attempt js fix for mobile devices * Apply suggestions from code review Co-authored-by: d11n <mail@dennisreimann.de> * fix fido name saving * do not spam logs and hide loader when failed * PR Changes * Apply suggestions from code review Co-authored-by: d11n <mail@dennisreimann.de> * attempt fido2 bump * add name if not named for credentials Co-authored-by: d11n <mail@dennisreimann.de>
This commit is contained in:
13
BTCPayServer/Fido2/Models/LoginWithFido2ViewModel.cs
Normal file
13
BTCPayServer/Fido2/Models/LoginWithFido2ViewModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Fido2NetLib;
|
||||
|
||||
namespace BTCPayServer.Fido2.Models
|
||||
{
|
||||
public class LoginWithFido2ViewModel
|
||||
{
|
||||
public string UserId { get; set; }
|
||||
|
||||
public bool RememberMe { get; set; }
|
||||
public AssertionOptions Data { get; set; }
|
||||
public string Response { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user