Added functionality to the Login Controller. Added TODO's for implementing Tokens #27 #31

This commit is contained in:
amazing-username committed 2019-04-28 02:05:23 +00:00
1 parent 8a38417a51
commit 0f918d6562
4 files changed
+124

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
using System;
using Newtonsoft.Json;
namespace Icarus.Models
{
public class LoginResult
{
[JsonProperty("id")]
public int UserId { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
[JsonProperty("token")]
public string Token { get; set; }
[JsonProperty("expiration")]
public int Expiration { get; set; }
}
}