File indexing completed on 2024-06-16 04:42:41
0001 /* 0002 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "plugins/pluginauthenticationinterface.h" 0010 0011 class GoogleAuthenticationInterface : public PluginAuthenticationInterface 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit GoogleAuthenticationInterface(QObject *parent = nullptr); 0016 ~GoogleAuthenticationInterface() override; 0017 0018 void login() override; 0019 0020 private: 0021 void slotLoginProvider(const QString &credentialToken, const QString &credentialSecret); 0022 };