| 71 | } |
| 72 | |
| 73 | void Resource::twoFactorAuthenticate(const QString &transferHeader, const QString &code) |
| 74 | { |
| 75 | auto job = createHttpAuthJob(transferHeader + QLatin1String("\nX-GitHub-OTP: ") + code); |
| 76 | connect(job, &KIO::StoredTransferJob::result, |
| 77 | this, &Resource::slotAuthenticate); |
| 78 | job->start(); |
| 79 | } |
| 80 | |
| 81 | void Resource::revokeAccess(const QString &id, const QString &name, const QString &password) |
| 82 | { |
no test coverage detected