Implemented Login workflow
This commit is contained in:
14
SpotiParty.Web/Models/User.cs
Normal file
14
SpotiParty.Web/Models/User.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SpotiParty.Web.Models;
|
||||
|
||||
public class User {
|
||||
[Key]
|
||||
public Guid UserId { get; init; } = Guid.CreateVersion7();
|
||||
|
||||
[MaxLength(255)]
|
||||
public string DisplayName { get; init; }
|
||||
|
||||
[MaxLength(255)]
|
||||
public string RefreshToken { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user