Audacity 3.2.0
Classes | Namespaces | Functions | Variables
OAuthService.cpp File Reference
#include "OAuthService.h"
#include <cassert>
#include <cctype>
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
#include "CodeConversions.h"
#include "Prefs.h"
#include "IResponse.h"
#include "NetworkManager.h"
#include "Request.h"
#include "ServiceConfig.h"
#include "UrlDecode.h"
#include "BasicUI.h"
#include "ExportUtils.h"
#include "StringUtils.h"
#include "UrlEncode.h"
Include dependency graph for OAuthService.cpp:

Go to the source code of this file.

Classes

class  audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::OAuthServiceSettingsResetHandler
 

Namespaces

namespace  audacity
 
namespace  audacity::cloud
 
namespace  audacity::cloud::audiocom
 
namespace  audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}
 

Functions

void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteClientFields (rapidjson::Document &document)
 
void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteAccessFields (rapidjson::Document &document, std::string_view grantType, std::string_view scope)
 
void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteCommonFields (rapidjson::Document &document, std::string_view grantType, std::string_view scope)
 
template<typename Elem , typename First , typename ... Others>
void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::append (std::basic_string< Elem > &dest, First &&first, Others &&...others)
 
template<typename First , typename ... Others>
auto audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::concat (First &&first, Others &&...others)
 
OAuthService & audacity::cloud::audiocom::GetOAuthService ()
 Returns the instance of the OAuthService. More...
 

Variables

StringSetting audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::refreshToken { L"/cloud/audiocom/refreshToken", "" }
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::uriPrefix = "audacity://link"
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::usernamePrefix = "username="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::passwordPrefix = "password="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::tokenPrefix = "token="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::authClientPrefix = "authclient="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::responseTypePrefix = "response_type="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::clientIdPrefix = "client_id="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::authorizationCodePrefix = "authorization_code="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::codePrefix = "code="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::urlPrefix = "url="
 
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::userPrefix = "user="
 
static PreferencesResetHandler::Registration< OAuthServiceSettingsResetHandler > audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::resetHandler