File indexing completed on 2024-06-16 04:42:41
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "githubauthenticationinterface.h" 0008 #include "githubauthenticationjob.h" 0009 #include "rocketchataccount.h" 0010 0011 GitHubAuthenticationInterface::GitHubAuthenticationInterface(QObject *parent) 0012 : PluginAuthenticationInterface(parent) 0013 { 0014 } 0015 0016 GitHubAuthenticationInterface::~GitHubAuthenticationInterface() = default; 0017 0018 void GitHubAuthenticationInterface::login() 0019 { 0020 auto job = new GitHubAuthenticationJob(this); 0021 job->start(); 0022 // connect(job, &GitHubAuthenticationJob::authenticated, this, [this]() { 0023 // // TODO 0024 // }); 0025 } 0026 0027 #include "moc_githubauthenticationinterface.cpp"