mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +00:00
62623b7123
rewrite zmq to DEALER and ROUTER add GET_USER command to get CurrentUser from Python all auth is on the python side inference run and validate annotations on python
11 lines
241 B
C#
11 lines
241 B
C#
using MessagePack;
|
|
|
|
namespace Azaion.CommonSecurity.DTO;
|
|
|
|
[MessagePackObject]
|
|
public class User
|
|
{
|
|
[Key("i")]public string Id { get; set; }
|
|
[Key("e")]public string Email { get; set; }
|
|
[Key("r")]public RoleEnum Role { get; set; }
|
|
} |