Refactoring, database structure changed
This commit is contained in:
13
WatchIt.Website/Clients/IAuthenticationClient.cs
Normal file
13
WatchIt.Website/Clients/IAuthenticationClient.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Refit;
|
||||
using WatchIt.DTO.Models.Controllers.Authentication;
|
||||
|
||||
namespace WatchIt.Website.Clients;
|
||||
|
||||
public interface IAuthenticationClient
|
||||
{
|
||||
[Post("/authenticate")]
|
||||
Task<IApiResponse<AuthenticationResponse>> Authenticate([Body] AuthenticationRequest body);
|
||||
|
||||
[Post("/authenticate_refresh")]
|
||||
Task<IApiResponse<AuthenticationResponse>> AuthenticateRefresh([Body] AuthenticationRefreshRequest body);
|
||||
}
|
||||
Reference in New Issue
Block a user