PolkitQt-1
polkitqt1-authority.h
206 * \see checkAuthorization(const QString&, const Subject&, AuthorizationFlags) Base version of this method.
208 // TODO: merge with checkAuthorization when we decide to break binary compatibility probably in Plasma 6
230 * \see checkAuthorization(const QString&, const Subject&, AuthorizationFlags, const DetailsMap&) for a description of the details parameter.
232 * \see checkAuthorizationSync(const QString&, const Subject, AuthorizationFlags) Base version of this method.
336 * Provide response that \p identity successfully authenticated for the authentication request identified by \p cookie.
348 * Provide response that \p identity successfully authenticated for the authentication request identified by \p cookie.
358 bool authenticationAgentResponseSync(const QString& cookie, const PolkitQt1::Identity& identity);
@ Challenge
The subject is authorized if more information is provided.
Definition polkitqt1-authority.h:68
TemporaryAuthorization::List enumerateTemporaryAuthorizationsSync(const Subject &subject)
Retrieves all temporary action that applies to subject.
Definition polkitqt1-authority.cpp:721
void consoleKitDBChanged()
This signal is emitted when ConsoleKit configuration changes.
@ AllowUserInteraction
If the subject can obtain the authorization through authentication, and an authentication agent is av...
Definition polkitqt1-authority.h:80
void registerAuthenticationAgentFinished(bool)
This signal is emitted when asynchronous method registerAuthenticationAgent finishes.
void revokeTemporaryAuthorizationsFinished(bool)
This signal is emitted when asynchronous method revokeTemporaryAuthorizations finishes.
bool revokeTemporaryAuthorizationSync(const QString &id)
Revokes temporary authorization by id.
Definition polkitqt1-authority.cpp:842
void configChanged()
This signal will be emitted when a configuration file gets changed (e.g.
void revokeTemporaryAuthorizationCancel()
This method can be used to cancel the method revokeTemporaryAuthorizationAsync.
Definition polkitqt1-authority.cpp:895
void enumerateTemporaryAuthorizationsFinished(PolkitQt1::TemporaryAuthorization::List)
This signal is emitted when asynchronous method enumerateTemporaryAuthorizations finishes.
void unregisterAuthenticationAgentFinished(bool)
This signal is emitted when asynchronous method unregisterAuthenticationAgent finishes.
void enumerateActionsFinished(PolkitQt1::ActionDescription::List)
This signal is emitted when asynchronous method enumerateActions finishes.
void revokeTemporaryAuthorizationFinished(bool)
This signal is emitted when asynchronous method revokeTemporaryAuthorization finishes.
bool revokeTemporaryAuthorizationsSync(const Subject &subject)
Revokes all temporary authorizations that applies to subject.
Definition polkitqt1-authority.cpp:782
void revokeTemporaryAuthorizationsCancel()
This method can be used to cancel the method revokeTemporaryAuthorizationsAsync.
Definition polkitqt1-authority.cpp:835
void revokeTemporaryAuthorization(const QString &id)
Revokes temporary authorization by id.
Definition polkitqt1-authority.cpp:862
void authenticationAgentResponseFinished(bool)
This signal is emitted when asynchronous method authenticationAgentResponse finishes.
void enumerateTemporaryAuthorizations(const Subject &subject)
Retrieves all temporary action that applies to subject.
void revokeTemporaryAuthorizations(const Subject &subject)
Revokes all temporary authorizations that applies to subject.
Definition polkitqt1-authority.cpp:802
void enumerateTemporaryAuthorizationsCancel()
This method can be used to cancel the enumerateTemporaryAuthorizationsAsync method.
Definition polkitqt1-authority.cpp:775
@ E_CookieOrIdentityEmpty
Cookie or polkitqt1-identity.handled to the action is empty.
Definition polkitqt1-authority.h:103
@ E_UnregisterFailed
Unregistration of authentication agent failed.
Definition polkitqt1-authority.h:101
void checkAuthorizationFinished(PolkitQt1::Authority::Result)
This signal is emitted when asynchronous method checkAuthorization finishes.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:07:15 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:07:15 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.