using Biskilog_Accounting.Shared.ClientContractModels; namespace Biskilog_Accounting.Shared.Interfaces { public interface IAuthService { /// /// Prepares and returns the connection string for a client using the specified database id /// /// Specified database id to use /// string GetClientConnectionString(int a_databaseId); /// /// Authenticates user or client /// /// /// /// A tokenized string with relevant information on the authenticated user Task AuthenticateClient(string a_username, string a_password); Contract GetContract(int a_clientId, int a_businessId); Databasemap GetClientDB(int a_clientId); Siteaccesspermission GetSiteaccesspermission(int a_clientId); Clientbusiness GetClientbusiness(int a_clientId); } }