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

Function TokenIsValid

plugins/twitch/token.cpp:452–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452bool TokenIsValid(const std::weak_ptr<TwitchToken> &token_)
453{
454 auto token = token_.lock();
455 if (!token) {
456 return false;
457 }
458 return token->IsValid();
459}
460
461std::deque<std::shared_ptr<Item>> &GetTwitchTokens()
462{

Callers 2

CheckTokenMethod · 0.85
CheckTokenMethod · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected