MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / generateScopeString

Function generateScopeString

plugins/twitch/token.cpp:750–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748}
749
750static std::string generateScopeString(const std::set<TokenOption> &options)
751{
752 if (options.empty()) {
753 return "";
754 }
755
756 std::string scope;
757 for (const auto &option : options) {
758 scope += option.apiId + "+";
759 }
760 scope.pop_back(); // Remove trailing +
761 return scope;
762}
763
764static std::string getHtml(const QString &redirect)
765{

Callers 1

RequestTokenMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected