mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:27:22 +01:00
update to API 5, consolidate hubs into one
This commit is contained in:
parent
4a83a7dba0
commit
a416521aab
21 changed files with 907 additions and 418 deletions
14
MareSynchronosServer/MareSynchronosServer/Models/Auth.cs
Normal file
14
MareSynchronosServer/MareSynchronosServer/Models/Auth.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MareSynchronosServer.Models
|
||||
{
|
||||
public class Auth
|
||||
{
|
||||
[Key]
|
||||
[MaxLength(64)]
|
||||
public string HashedKey { get; set; }
|
||||
|
||||
public string UserUID { get; set; }
|
||||
public User User { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue