device: refactor authentication
There is now a dedicated BoltAuth object that, a) stores the information for the authentication process (level, key), keeps track who initiated the authentication (origin), as well as the result. Device::Authenticate dbus method now only uses existing authentication information, if any. Manager::Enroll must be used to authenticate new devices.
Showing with 550 additions and 146 deletions