Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using adas_core.Domain.Models.MongoModels;
|
||||
using adas_core.Domain.Models.Responses;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace adas_core.Application.Services.Interfaces;
|
||||
|
||||
public interface IAuthService
|
||||
{
|
||||
Task<LoginResponse?> GetLoginResponse();
|
||||
Task<string> GetToken();
|
||||
Task<List<Authorization>> GetByUnitId(ObjectId unitId);
|
||||
Task<bool> DeleteByDisplayId(ObjectId displayId);
|
||||
Task<bool> DeleteByUnitId(ObjectId unitId);
|
||||
Task<List<Authorization>> GetUserAuthorities(ObjectId id);
|
||||
}
|
||||
Reference in New Issue
Block a user