2a3e297218
Restricting callers to a list of allowed senders is useful for other D-Bus services as well, so split out the existing code into a reusable class. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3943 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970>