Update to dotnet 9.0, add user roles, MatchStats and OpenApi/Scalar in dev
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LaDOSE.DTO
|
||||
{
|
||||
@@ -9,8 +10,13 @@ namespace LaDOSE.DTO
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string Username { get; set; }
|
||||
|
||||
/// <summary>Only ever read from a request; never populated on a response.</summary>
|
||||
public string Password { get; set; }
|
||||
|
||||
/// <summary>Role names held by the user, e.g. <c>["Admin"]</c>. Empty means a plain user.</summary>
|
||||
public List<string> Roles { get; set; }
|
||||
|
||||
public string Token { get; set; }
|
||||
public DateTime Expire { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user