Audacity 3.2.0
|
Classes | |
class | OAuthServiceSettingsResetHandler |
Functions | |
void | WriteClientFields (rapidjson::Document &document) |
void | WriteAccessFields (rapidjson::Document &document, std::string_view grantType, std::string_view scope) |
void | WriteCommonFields (rapidjson::Document &document, std::string_view grantType, std::string_view scope) |
template<typename Elem , typename First , typename ... Others> | |
void | append (std::basic_string< Elem > &dest, First &&first, Others &&...others) |
template<typename First , typename ... Others> | |
auto | concat (First &&first, Others &&...others) |
Variables | |
StringSetting | refreshToken { L"/cloud/audiocom/refreshToken", "" } |
const std::string_view | uriPrefix = "audacity://link" |
const std::string_view | usernamePrefix = "username=" |
const std::string_view | passwordPrefix = "password=" |
const std::string_view | tokenPrefix = "token=" |
const std::string_view | authClientPrefix = "authclient=" |
const std::string_view | responseTypePrefix = "response_type=" |
const std::string_view | clientIdPrefix = "client_id=" |
const std::string_view | authorizationCodePrefix = "authorization_code=" |
const std::string_view | codePrefix = "code=" |
const std::string_view | urlPrefix = "url=" |
const std::string_view | userPrefix = "user=" |
static PreferencesResetHandler::Registration< OAuthServiceSettingsResetHandler > | resetHandler |
void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::append | ( | std::basic_string< Elem > & | dest, |
First && | first, | ||
Others &&... | others | ||
) |
Definition at line 94 of file OAuthService.cpp.
References append().
Referenced by append(), concat(), and EQCurveReader::LoadCurves().
auto audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::concat | ( | First && | first, |
Others &&... | others | ||
) |
Definition at line 102 of file OAuthService.cpp.
References append().
Referenced by audacity::cloud::audiocom::OAuthService::MakeAudioComAuthorizeURL(), and audacity::cloud::audiocom::OAuthService::MakeOAuthRequestURL().
void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteAccessFields | ( | rapidjson::Document & | document, |
std::string_view | grantType, | ||
std::string_view | scope | ||
) |
Definition at line 74 of file OAuthService.cpp.
References anonymous_namespace{wxCommandTargets.cpp}::scope.
Referenced by WriteCommonFields().
void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteClientFields | ( | rapidjson::Document & | document | ) |
Definition at line 56 of file OAuthService.cpp.
References audacity::cloud::audiocom::ServiceConfig::GetOAuthClientID(), audacity::cloud::audiocom::ServiceConfig::GetOAuthClientSecret(), and audacity::cloud::audiocom::GetServiceConfig().
Referenced by audacity::cloud::audiocom::OAuthService::Register(), and WriteCommonFields().
void audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteCommonFields | ( | rapidjson::Document & | document, |
std::string_view | grantType, | ||
std::string_view | scope | ||
) |
Definition at line 86 of file OAuthService.cpp.
References anonymous_namespace{wxCommandTargets.cpp}::scope, WriteAccessFields(), and WriteClientFields().
Referenced by audacity::cloud::audiocom::OAuthService::AuthoriseCode(), audacity::cloud::audiocom::OAuthService::AuthorisePassword(), audacity::cloud::audiocom::OAuthService::AuthoriseRefreshToken(), and audacity::cloud::audiocom::OAuthService::Authorize().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::authClientPrefix = "authclient=" |
Definition at line 48 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::MakeOAuthRequestURL().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::authorizationCodePrefix = "authorization_code=" |
Definition at line 51 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::HandleLinkURI().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::clientIdPrefix = "client_id=" |
Definition at line 50 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::MakeOAuthRequestURL().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::codePrefix = "code=" |
Definition at line 52 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::HandleLinkURI().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::passwordPrefix = "password=" |
Definition at line 46 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::HandleLinkURI().
StringSetting audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::refreshToken { L"/cloud/audiocom/refreshToken", "" } |
Definition at line 42 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::AuthoriseRefreshToken(), audacity::cloud::audiocom::OAuthService::HasRefreshToken(), audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::OAuthServiceSettingsResetHandler::OnSettingResetEnd(), audacity::cloud::audiocom::OAuthService::ParseTokenResponse(), and audacity::cloud::audiocom::OAuthService::UnlinkAccount().
|
static |
Definition at line 593 of file OAuthService.cpp.
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::responseTypePrefix = "response_type=" |
Definition at line 49 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::MakeOAuthRequestURL().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::tokenPrefix = "token=" |
Definition at line 47 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::HandleLinkURI(), and audacity::cloud::audiocom::OAuthService::MakeAudioComAuthorizeURL().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::uriPrefix = "audacity://link" |
Definition at line 44 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::HandleLinkURI().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::urlPrefix = "url=" |
Definition at line 53 of file OAuthService.cpp.
Referenced by AudacityApp::CreateSingleInstanceChecker(), audacity::cloud::audiocom::OAuthService::MakeAudioComAuthorizeURL(), and AudacityApp::OnTimer().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::usernamePrefix = "username=" |
Definition at line 45 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::HandleLinkURI().
const std::string_view audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::userPrefix = "user=" |
Definition at line 54 of file OAuthService.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::MakeAudioComAuthorizeURL().