mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 08:16:34 +00:00
121052a3ef
add security encryption and hashing: WIP add endpoints: register user, get and save resources add db main operations, User entity
17 lines
451 B
C#
17 lines
451 B
C#
using Azaion.Common.Entities;
|
|
|
|
namespace Azaion.Common.Requests;
|
|
|
|
public class GetResourceRequest
|
|
{
|
|
public string Username { get; set; } = null!;
|
|
public string Password { get; set; } = null!;
|
|
public string HardwareId { get; set; } = null!;
|
|
public ResourceEnum ResourceEnum { get; set; }
|
|
}
|
|
|
|
public class UploadResourceRequest
|
|
{
|
|
public ResourceEnum ResourceEnum { get; set; }
|
|
public Stream Data { get; set; } = null!;
|
|
} |