wiring up new auth endpoint
This commit is contained in:
parent
b6999cef0a
commit
a13fb49942
17 changed files with 850 additions and 37 deletions
|
@ -1,4 +1,5 @@
|
|||
using Sledgemapper.Shared.Entities;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Sledgemapper.Clients
|
||||
|
@ -21,5 +22,7 @@ namespace Sledgemapper.Clients
|
|||
Task RefreshPlayers();
|
||||
Task NewLine(Line line);
|
||||
Task Ping(Ping ping);
|
||||
Task NewCampaign(string campaignName);
|
||||
Task<List<Campaign>> GetCampaigns();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Sledgemapper.Shared.Entities;
|
||||
|
||||
public class Campaign
|
||||
namespace Sledgemapper.Shared.Entities
|
||||
{
|
||||
public Guid Id {get;set;}
|
||||
public string Name { get; set; }
|
||||
public List<Map> Maps {get;set;}
|
||||
public class Campaign
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public List<Map> Maps { get; set; }
|
||||
}
|
||||
}
|
|
@ -13,6 +13,9 @@ namespace Sledgemapper.Shared.Entities
|
|||
[Required]
|
||||
public string Username { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Email { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Password { get; set; }
|
||||
[Required]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue