20 lines
No EOL
503 B
C#
20 lines
No EOL
503 B
C#
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);
|
|
}
|
|
} |