- Sites: CreateSite, UpdateSite, DeleteSite, GenerateToken commands + handlers - Auth: Login, Register, RefreshToken, 2FA, ChangePassword, Logout commands - Users: CRUD, roles, sites, lock/unlock, reset-password commands + queries - Cameras: CRUD, SetCredentials commands + queries - Add IApplicationDbContext abstraction for Clean Architecture - Add ICredentialProtector, IJwtService interfaces to Application layer - 0 build errors, 0 warnings
8 lines
159 B
C#
8 lines
159 B
C#
namespace Heimdall.Application.Common;
|
|
|
|
public interface ICredentialProtector
|
|
{
|
|
string Encrypt(string plaintext);
|
|
string Decrypt(string ciphertext);
|
|
}
|