refactor: move files
This commit is contained in:
parent
db70e4dd96
commit
727f5c276e
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Mirea.Api.Security.Common.Domain;
|
namespace Mirea.Api.Security.Common.Domain.Caching;
|
||||||
|
|
||||||
internal class AuthToken
|
internal class AuthToken
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
namespace Mirea.Api.Security.Common.Domain;
|
namespace Mirea.Api.Security.Common.Domain.Caching;
|
||||||
|
|
||||||
internal class FirstAuthToken
|
internal class FirstAuthToken
|
||||||
{
|
{
|
7
Security/Common/Domain/TwoFactorAuthenticator.cs
Normal file
7
Security/Common/Domain/TwoFactorAuthenticator.cs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
namespace Mirea.Api.Security.Common.Domain;
|
||||||
|
|
||||||
|
public enum TwoFactorAuthenticator
|
||||||
|
{
|
||||||
|
None,
|
||||||
|
Totp
|
||||||
|
}
|
@ -1,11 +1,5 @@
|
|||||||
namespace Mirea.Api.Security.Common.Domain;
|
namespace Mirea.Api.Security.Common.Domain;
|
||||||
|
|
||||||
public enum TwoFactorAuthenticator
|
|
||||||
{
|
|
||||||
None,
|
|
||||||
Totp
|
|
||||||
}
|
|
||||||
|
|
||||||
public class User
|
public class User
|
||||||
{
|
{
|
||||||
public required string Id { get; set; }
|
public required string Id { get; set; }
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Mirea.Api.Security.Common;
|
using Mirea.Api.Security.Common;
|
||||||
using Mirea.Api.Security.Common.Domain;
|
using Mirea.Api.Security.Common.Domain;
|
||||||
|
using Mirea.Api.Security.Common.Domain.Caching;
|
||||||
using Mirea.Api.Security.Common.Interfaces;
|
using Mirea.Api.Security.Common.Interfaces;
|
||||||
using System;
|
using System;
|
||||||
using System.Security;
|
using System.Security;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user