MCPcopy Create free account
hub / github.com/audacity/audacity / GetAccessToken

Method GetAccessToken

libraries/lib-cloud-audiocom/OAuthService.cpp:337–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337std::string OAuthService::GetAccessToken() const
338{
339 std::lock_guard<std::recursive_mutex> lock(mMutex);
340
341 if (Clock::now() < mTokenExpirationTime)
342 return mAccessToken;
343
344 return {};
345}
346
347std::string OAuthService::MakeOAuthRequestURL(std::string_view authClientId)
348{

Callers 3

UpdateUserDataMethod · 0.80
SetCommonHeadersFunction · 0.80
UpdateProjectSnapshotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected