private static function getJwtKey()
    {
        $settings = AssetCatalogueSettings::singleton();
        $key = $settings->jwtKey;

        if ($key == "") {
            throw new AssetException("", "No token key is defined in AssetCatalogueSettings");
        }

        return $key;
    }