Cleanup U2F namespace to correspond to folder path

This commit is contained in:
rockstardev
2019-10-02 12:32:41 -05:00
parent 639f5d2fc4
commit 7282199c31
18 changed files with 27 additions and 24 deletions

View File

@@ -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; }
}
}
}

View File

@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Services.U2F.Models
namespace BTCPayServer.U2F.Models
{
public class LoginWithU2FViewModel
{

View File

@@ -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; }
}
}
}

View File

@@ -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; }
}
}
}

View File

@@ -1,7 +1,7 @@
using System.Collections.Generic;
using BTCPayServer.Data;
namespace BTCPayServer.Services.U2F.Models
namespace BTCPayServer.U2F.Models
{
public class U2FAuthenticationViewModel
{

View File

@@ -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; }
}
}
}