Audacity 3.2.0
|
Functions | |
void | WriteCommonFields (rapidjson::Document &document, std::string_view grantType, std::string_view scope) |
bool | IsPrefixed (std::string_view hay, std::string_view prefix) |
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 | authorizationCodePrefix = "authorization_code=" |
bool cloud::audiocom::anonymous_namespace{OAuthService.cpp}::IsPrefixed | ( | std::string_view | hay, |
std::string_view | prefix | ||
) |
Definition at line 72 of file OAuthService.cpp.
Referenced by cloud::audiocom::OAuthService::HandleLinkURI().
void cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteCommonFields | ( | rapidjson::Document & | document, |
std::string_view | grantType, | ||
std::string_view | scope | ||
) |
Definition at line 46 of file OAuthService.cpp.
References cloud::audiocom::ServiceConfig::GetOAuthClientID(), cloud::audiocom::ServiceConfig::GetOAuthClientSecret(), cloud::audiocom::GetServiceConfig(), and anonymous_namespace{wxCommandTargets.cpp}::scope.
Referenced by cloud::audiocom::OAuthService::AuthoriseCode(), cloud::audiocom::OAuthService::AuthorisePassword(), and cloud::audiocom::OAuthService::AuthoriseRefreshToken().
const std::string_view cloud::audiocom::anonymous_namespace{OAuthService.cpp}::authorizationCodePrefix = "authorization_code=" |
Definition at line 44 of file OAuthService.cpp.
Referenced by cloud::audiocom::OAuthService::HandleLinkURI().
const std::string_view cloud::audiocom::anonymous_namespace{OAuthService.cpp}::passwordPrefix = "password=" |
Definition at line 42 of file OAuthService.cpp.
Referenced by cloud::audiocom::OAuthService::HandleLinkURI().
StringSetting cloud::audiocom::anonymous_namespace{OAuthService.cpp}::refreshToken { L"/cloud/audiocom/refreshToken", "" } |
Definition at line 38 of file OAuthService.cpp.
Referenced by cloud::audiocom::OAuthService::AuthoriseRefreshToken(), cloud::audiocom::OAuthService::DoAuthorise(), cloud::audiocom::OAuthService::HasRefreshToken(), and cloud::audiocom::OAuthService::UnlinkAccount().
const std::string_view cloud::audiocom::anonymous_namespace{OAuthService.cpp}::tokenPrefix = "token=" |
Definition at line 43 of file OAuthService.cpp.
Referenced by cloud::audiocom::OAuthService::HandleLinkURI().
const std::string_view cloud::audiocom::anonymous_namespace{OAuthService.cpp}::uriPrefix = "audacity://link" |
Definition at line 40 of file OAuthService.cpp.
Referenced by cloud::audiocom::OAuthService::HandleLinkURI().
const std::string_view cloud::audiocom::anonymous_namespace{OAuthService.cpp}::usernamePrefix = "username=" |
Definition at line 41 of file OAuthService.cpp.
Referenced by cloud::audiocom::OAuthService::HandleLinkURI().