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

2 years 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
{
2 years ago
public class TokenService : IKeyService
2 years ago
{
private IConfiguration m_configuration { get; }
2 years ago
private BiskilogContext m_context;
public TokenService(IConfiguration a_configuration,BiskilogContext a_context)
2 years ago
{
m_configuration = a_configuration;
2 years ago
m_context = a_context;
2 years ago
}
2 years ago
public AuthEnums ValidateKey(string a_Key)
2 years ago
{
2 years ago
throw new NotImplementedException();
2 years ago
}
2 years ago
public string GenerateKey(Contract a_clientContract, Databasemap a_database)
2 years ago
{
2 years ago
throw new NotImplementedException();
2 years ago
}
2 years ago
public int? GetDatabaseIdFromKey(string a_Key)
2 years ago
{
2 years ago
throw new NotImplementedException();
2 years ago
}
2 years ago
public string GetBaseBranch(string a_Key)
2 years ago
{
2 years ago
throw new NotImplementedException();
2 years ago
}
}
}