Changeset View
Changeset View
Standalone View
Standalone View
src/backends/fake/FakeBackend.h
Show All 33 Lines | 32 | { | |||
---|---|---|---|---|---|
34 | Q_INTERFACES(KAuth::AuthBackend) | 34 | Q_INTERFACES(KAuth::AuthBackend) | ||
35 | 35 | | |||
36 | public: | 36 | public: | ||
37 | FakeBackend(); | 37 | FakeBackend(); | ||
38 | void setupAction(const QString &) override; | 38 | void setupAction(const QString &) override; | ||
39 | Action::AuthStatus authorizeAction(const QString &) override; | 39 | Action::AuthStatus authorizeAction(const QString &) override; | ||
40 | Action::AuthStatus actionStatus(const QString &) override; | 40 | Action::AuthStatus actionStatus(const QString &) override; | ||
41 | QByteArray callerID() const override; | 41 | QByteArray callerID() const override; | ||
42 | bool isCallerAuthorized(const QString &action, QByteArray callerID) override; | 42 | bool isCallerAuthorized(const QString &action, const QByteArray &callerID, const QVariantMap &details) override; | ||
43 | }; | 43 | }; | ||
44 | 44 | | |||
45 | } // namespace Auth | 45 | } // namespace Auth | ||
46 | 46 | | |||
47 | #endif | 47 | #endif |