File indexing completed on 2024-05-19 15:07:33

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 AuthBackend::ExtraCallerIDVerificationMethod AuthBackend::extraCallerIDVerificationMethod() const
0047 {
0048     return NoExtraCallerIDVerificationMethod;
0049 }
0050 
0051 bool AuthBackend::actionExists(const QString &action)
0052 {
0053     Q_UNUSED(action);
0054     return false;
0055 }
0056 
0057 void AuthBackend::preAuthAction(const QString &action, QWidget *parent)
0058 {
0059     Q_UNUSED(action)
0060     Q_UNUSED(parent)
0061 }
0062 
0063 QVariantMap AuthBackend::backendDetails(const DetailsMap &details)
0064 {
0065     Q_UNUSED(details);
0066     return QVariantMap();
0067 }
0068 
0069 } // namespace KAuth
0070 
0071 #include "moc_AuthBackend.cpp"