"""Constants."""

CONFIG_DIR = ".slices"
SETTINGS_FILENAME = "settings.toml"
AUTH_FILENAME = "auth.json"
AUTH_FILE_VERSION = "0.1"

JWT_SUPPORTED_ALGORITHMS = ["ES256", "ES384"]

SLICES_CENTRAL_CONFIG_CACHE_FILENAME = "cache_slices-central-config.json"
DEFAULT_SLICES_CENTRAL_CONFIG_URL = "https://portal.slices-ri.eu/config.json"
SLICES_CENTRAL_CONFIG_CACHE_TIMEOUT_MINUTES = 5

BASE_HTTP_TIMEOUT_S = 60.0
