mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-29 19:04:40 +01:00
Cleanup U2F namespace to correspond to folder path
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace BTCPayServer.Services.U2F.Models
|
||||
namespace BTCPayServer.U2F.Models
|
||||
{
|
||||
public class AddU2FDeviceViewModel
|
||||
{
|
||||
@@ -9,4 +9,4 @@ namespace BTCPayServer.Services.U2F.Models
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BTCPayServer.Services.U2F.Models
|
||||
namespace BTCPayServer.U2F.Models
|
||||
{
|
||||
public class LoginWithU2FViewModel
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace BTCPayServer.Services.U2F.Models
|
||||
namespace BTCPayServer.U2F.Models
|
||||
{
|
||||
public class ServerChallenge
|
||||
{
|
||||
@@ -7,4 +7,4 @@ namespace BTCPayServer.Services.U2F.Models
|
||||
public string appId { get; set; }
|
||||
public string keyHandle { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace BTCPayServer.Services.U2F.Models
|
||||
namespace BTCPayServer.U2F.Models
|
||||
{
|
||||
public class ServerRegisterResponse
|
||||
{
|
||||
@@ -6,4 +6,4 @@ namespace BTCPayServer.Services.U2F.Models
|
||||
public string Challenge { get; set; }
|
||||
public string Version { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using BTCPayServer.Data;
|
||||
|
||||
namespace BTCPayServer.Services.U2F.Models
|
||||
namespace BTCPayServer.U2F.Models
|
||||
{
|
||||
public class U2FAuthenticationViewModel
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BTCPayServer.Services.U2F.Models
|
||||
namespace BTCPayServer.U2F.Models
|
||||
{
|
||||
public class U2FDeviceAuthenticationRequest
|
||||
{
|
||||
@@ -12,4 +12,4 @@ namespace BTCPayServer.Services.U2F.Models
|
||||
|
||||
[Required] [StringLength(50)] public string Version { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user