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

Method MakeOAuthRequestURL

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

Source from the content-addressed store, hash-verified

345}
346
347std::string OAuthService::MakeOAuthRequestURL(std::string_view authClientId)
348{
349 using namespace audacity::network_manager;
350
351 return concat(
352 GetServiceConfig().GetAPIUrl("/auth/authorize?"),
353 authClientPrefix, authClientId, "&",
354 responseTypePrefix, "code", "&",
355 clientIdPrefix, GetServiceConfig().GetOAuthClientID(),
356 "&redirect_uri=audacity://link"
357 );
358}
359
360std::string OAuthService::MakeAudioComAuthorizeURL(std::string_view userId, std::string_view redirectUrl)
361{

Callers

nothing calls this directly

Calls 3

concatFunction · 0.85
GetAPIUrlMethod · 0.80
GetOAuthClientIDMethod · 0.80

Tested by

no test coverage detected