mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 13:14:18 +01:00
add lodestone auth, add rate limiting middleware
This commit is contained in:
parent
4d3226aa8b
commit
e0f273a020
14 changed files with 1102 additions and 43 deletions
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MareSynchronosServer.Models
|
||||
{
|
||||
public class LodeStoneAuth
|
||||
{
|
||||
[Key]
|
||||
public ulong DiscordId { get; set; }
|
||||
public string HashedLodestoneId { get; set; }
|
||||
public string? LodestoneAuthString { get; set; }
|
||||
public User? User { get; set; }
|
||||
public DateTime? StartedAt { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue