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

Method CheckIfTokenValid

plugins/twitch/token.cpp:671–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669}
670
671void TwitchTokenSettingsDialog::CheckIfTokenValid()
672{
673 if (_currentToken._token.empty()) {
674 return;
675 }
676 if (_currentToken.IsValid(true)) {
677 return;
678 }
679 _tokenStatus->setText(
680 obs_module_text("AdvSceneSwitcher.twitchToken.request.notSet"));
681}
682
683void TwitchTokenSettingsDialog::ShowToken()
684{

Callers

nothing calls this directly

Calls 4

obs_module_textFunction · 0.85
setTextMethod · 0.80
emptyMethod · 0.45
IsValidMethod · 0.45

Tested by

no test coverage detected