login flow
This commit is contained in:
parent
886d2a88b0
commit
194f3cbffa
22 changed files with 642 additions and 141 deletions
20
Sledgemapper/IIdentityApi.cs
Normal file
20
Sledgemapper/IIdentityApi.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using Refit;
|
||||
using Sledgemapper.Shared.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Sledgemapper
|
||||
{
|
||||
public interface IIdentityApi
|
||||
{
|
||||
[Post("/users/register")]
|
||||
Task<HttpResponseMessage> Register([Body] RegisterModel registerModel);
|
||||
|
||||
[Post("/users/authenticate")]
|
||||
Task<AuthenticateResponse> Authenticate([Body] AuthenticateModel registerModel);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue