| 345 | } |
| 346 | |
| 347 | std::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 | |
| 360 | std::string OAuthService::MakeAudioComAuthorizeURL(std::string_view userId, std::string_view redirectUrl) |
| 361 | { |
nothing calls this directly
no test coverage detected