FlexitimeTracker/FlexitimeUI/FlexitimeAPI/Interfaces/Interface.cs
2023-04-11 20:17:20 +01:00

29 lines
660 B
C#

using System;
using System.Threading.Tasks;
using Flexitime.Objects;
namespace FlexitimeAPI.Interfaces
{
public interface ITimePersistenceService
{
UserState StoreTime(TimeLog logEntry);
void UpdateTimeLog(Guid logToUpdate, TimeLog updatedLogEntry);
}
public interface IApplicationSettings
{
public string Secret { get; }
public string ConnectionString { get; }
}
public interface ILoginService
{
string GenerateJwtToken(User user);
}
public interface IIdentifierService
{
Task Associate(Identifier identifier, Guid userId);
}
}