The spec for dbus defines several authentication methods but we only use EXTERNAL. And worse, each MessageBus implementation must implement the logic for all auth methods itself.
It would be nice if we could:
- Create a common class to abstract auth logic from the message bus. This class should extend from a base and can be passed to any
MessageBus constructor.
- Make the base part of the public api so users can extend it to use custom auth code.
- Implement
DBUS_COOKIE_SHA1 and ANONYMOUS auth method classes included in the library.
The spec for dbus defines several authentication methods but we only use
EXTERNAL. And worse, eachMessageBusimplementation must implement the logic for all auth methods itself.It would be nice if we could:
MessageBusconstructor.DBUS_COOKIE_SHA1andANONYMOUSauth method classes included in the library.