MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / isProviderAuthenticated

Method isProviderAuthenticated

ui-linux/src/backend.cpp:1458–1466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1456}
1457
1458bool Backend::isProviderAuthenticated(const QString &provider) const
1459{
1460 // OAuth-based providers only - "folder" and "local" don't use OAuth
1461 if (provider == "local" || provider == "folder")
1462 return false;
1463
1464 QString tokenPath = defaultTokenPath(provider);
1465 return QFile::exists(tokenPath);
1466}
1467
1468bool Backend::shouldOfferAutoUpdates() const
1469{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected