aboutsummaryrefslogtreecommitdiff
path: root/src/mm-auth.c
AgeCommit message (Collapse)Author
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-06-22build: only define WITH_POLKIT if enabledAleksander Morgado
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.