aboutsummaryrefslogtreecommitdiff
path: root/src/mm-auth-provider.c
AgeCommit message (Collapse)Author
2020-04-08auth-provider: port to use object loggingAleksander Morgado
2020-01-23auth-provider: refactor and simplifyAleksander Morgado
The auth provider setup is a bit over-engineered. Simplify it by making a single MMAuthProvider object that may or may not use polkit, depending on configure options. This object is also setup as a singleton object using the helper MM_DEFINE_SINGLETON_GETTER().
2017-04-07auth: port authorize to use GTaskBen Chan
2012-03-16auth: refactor and simplify authentication related setupAleksander Morgado
We get rid of the MMAuthRequests; and we leave up to the caller and user of the MMAuthProvider the handling of request cancellations through the provided GCancellable. Also made GIO-async-friendly methods.
2012-03-16core: use GDBusMethodInvocation in the auth APIAleksander Morgado
2012-03-16Revert "core: avoid using DBusGMethodInvocation in auth API"Aleksander Morgado
This reverts commit 013fd179f458d87bba9fd7657ffe1bd90169f231. We will start using GDBus-only based code from now on.
2012-03-15core: avoid using DBusGMethodInvocation in auth APIAleksander Morgado
While porting to GDBus, use opaque pointers. This allows us to include either a DBusGMethodInvocation or a GDBusMethodInvocation in the 'context' pointer. Once fully ported to GDBus, we can safely change it back to make the context be a GDBusMethodInvocation.
2010-02-27core: implement optional PolicyKit-based authenticationDan Williams
2010-02-27core: simply authentication request objectsDan Williams
2010-02-26core: add authorization providers and optional PolicyKit supportDan Williams
When the support is complete, use --with-polkit to enable PolicyKit support. It's not there yet, but this commit adds an authorization provider framework which will be extended to allow hooking into PolicyKit.