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

Function NotifyAuthFailure

src/common/cloud_storage.cpp:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215// Guarded by std::once_flag so the user sees it at most once per Steam session.
216static std::once_flag g_authFailureOnce;
217void NotifyAuthFailure(const std::string& providerName) {
218 std::call_once(g_authFailureOnce, [&providerName] {
219 CloudWorkQueue::ShowErrorDialog(
220 providerName + " authentication failed!\n\n"
221 "CloudRedirect cannot refresh your access token.\n"
222 "Cloud sync is disabled until this is resolved.\n\n"
223 "Re-authenticate using the CloudRedirect setup tool.");
224 });
225}
226
227// WorkItem/EnqueueWork/queue infra moved to cloud_work_queue.h/.cpp.
228static std::string LocalStoragePath(uint32_t accountId, uint32_t appId);

Callers

nothing calls this directly

Calls 1

ShowErrorDialogFunction · 0.85

Tested by

no test coverage detected