Erik Thuning ca3d536868 Added support for limited client validity
A new /cron endpoint has been introduced, which triggers a cleanup routine.
The cleanup routine loops over all existing clients and deletes all that are
older than the value configured in config.ini.

Periodically calling the cron endpoint is the responsibility of the server admin.
2025-03-26 13:30:53 +01:00

8 lines
209 B
Python

class ClientLimitError(Exception):
def __init__(self, message):
self.message = message
class ValiditySpecificationError(Exception):
def __init__(self, message):
self.message = message