MCPcopy Create free account
hub / github.com/KDE/kdevelop / twoFactorAuthenticate

Method twoFactorAuthenticate

plugins/ghprovider/ghresource.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void 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
81void Resource::revokeAccess(const QString &id, const QString &name, const QString &password)
82{

Callers 1

twoFactorResponseMethod · 0.80

Calls 2

createHttpAuthJobFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected