Error libresign

I’ve got this error when trying to acces libresign document :

Call to undefined method OCP\AppFramework\Http\ContentSecurityPolicy::allowInlineScript() in file ‘/var/www/nextcloud/apps/libresign/lib/Controller/PageController.php’ line 136

what should i do ?

LR
nextcloud 28.0.2
libresign 7.1.1