sledgemapper/Sledgemapper/IIdentityApi.cs
Michele Scandura 77832db39d more cleanup
2020-11-18 11:22:46 +00:00

16 lines
417 B
C#

using Refit;
using Sledgemapper.Shared.Entities;
using System.Net.Http;
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);
}
}