The cloud manager acts as an intermediary for syncing between the local biskilog server manager and the biskilog accounting web application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

1 year ago
using Cloud_Manager.Models.ClientContractModels;
using Cloud_Manager.Models.Enums;
using Cloud_Manager.Models.Interfaces;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
namespace Cloud_Manager.Models.ServiceRepo
{
1 year ago
public class TokenService : IKeyService
1 year ago
{
private IConfiguration m_configuration { get; }
1 year ago
private BiskilogContext m_context;
public TokenService(IConfiguration a_configuration,BiskilogContext a_context)
1 year ago
{
m_configuration = a_configuration;
1 year ago
m_context = a_context;
1 year ago
}
1 year ago
public AuthEnums ValidateKey(string a_Key)
1 year ago
{
1 year ago
throw new NotImplementedException();
1 year ago
}
1 year ago
public string GenerateKey(Contract a_clientContract, Databasemap a_database)
1 year ago
{
1 year ago
throw new NotImplementedException();
1 year ago
}
1 year ago
public int? GetDatabaseIdFromKey(string a_Key)
1 year ago
{
1 year ago
throw new NotImplementedException();
1 year ago
}
1 year ago
public string GetBaseBranch(string a_Key)
1 year ago
{
1 year ago
throw new NotImplementedException();
1 year ago
}
}
}