using Cloud_Manager.Models.ClientContractModels; using Cloud_Manager.Models.Enums; namespace Cloud_Manager.Models.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); } }