Hello,
I hope you’re having a pleasant week !
I’m using 2 OC classes in my application and as it is not recommended, I’d like to find alternatives.
I’m looking for alternatives for:
\OC::$server->getCSRFTokenManager()— to populate my settings form in the backend\OC\Search\SearchComposer— used to obtain the list of providers
Notes:
For 1. I want to avoid the inclusion of the Nextcloud’s password popin in my code (it has nothing to do there) and make my settings form as dumb as possible.
Regarding 2., my goal is to provide configuration of my “the search page” application to reduce the available provider based on user groups. Without the ability to fetch the group in the backend, this feature is not really feasible.
Thanks in advance