using Biskilog_Accounting.Shared.ClientContractModels; using Biskilog_Accounting.Shared.Enums; namespace Biskilog_Accounting.Shared.Interfaces { public interface ITokenService { AuthEnums ValidateToken(string a_token); string GenerateToken(Userauth a_user, Contract a_clientContract, Databasemap a_database, List a_business, bool a_comparison); int? GetDatabaseIdFromToken(string a_token); int? GetUserIdFromToken(string a_token); string? GetUserNameFromToken(string a_token); string? GetBaseBranch(string a_token); bool? GetComparison(string a_token); IEnumerable BranchIds(string a_token); string? GetAllBranch(string a_token); Task SetToken(string a_token, bool a_remember); Task GetToken(); Task ClearToken(); Task IsTokenSet(); } }