File indexing completed on 2024-12-01 06:42:44

0001 /*
0002     SPDX-FileCopyrightText: 2008 Nicola Gigante <nicola.gigante@gmail.com>
0003     SPDX-FileCopyrightText: 2010 Dario Freddi <drf@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-or-later
0006 */
0007 
0008 #include "AuthBackend.h"
0009 
0010 namespace KAuth
0011 {
0012 class AuthBackend::Private
0013 {
0014 public:
0015     Private()
0016     {
0017     }
0018     virtual ~Private()
0019     {
0020     }
0021 
0022     Capabilities capabilities;
0023 };
0024 
0025 AuthBackend::AuthBackend()
0026     : QObject(nullptr)
0027     , d(new Private)
0028 {
0029 }
0030 
0031 AuthBackend::~AuthBackend()
0032 {
0033     delete d;
0034 }
0035 
0036 AuthBackend::Capabilities AuthBackend::capabilities() const
0037 {
0038     return d->capabilities;
0039 }
0040 
0041 void AuthBackend::setCapabilities(AuthBackend::Capabilities capabilities)
0042 {
0043     d->capabilities = capabilities;
0044 }
0045 
0046 void AuthBackend::preAuthAction(const QString &action, QWindow *parent)
0047 {
0048     Q_UNUSED(action)
0049     Q_UNUSED(parent)
0050 }
0051 
0052 QVariantMap AuthBackend::backendDetails(const DetailsMap &details)
0053 {
0054     Q_UNUSED(details);
0055     return QVariantMap();
0056 }
0057 
0058 } // namespace KAuth
0059 
0060 #include "moc_AuthBackend.cpp"