summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2018-11-20 13:40:48 -0500
committerJackLivio <jack@livio.io>2018-11-20 13:40:48 -0500
commita6c0deddae788352f4b0e7bf238b37db43386489 (patch)
tree042a700055f061c4612820eeaf7c7826ca657884 /src
parent4103779a0b69a029720141dbda934151e8321ba0 (diff)
downloadsdl_core-a6c0deddae788352f4b0e7bf238b37db43386489.tar.gz
Fix auth_token typo
Diffstat (limited to 'src')
-rw-r--r--src/components/application_manager/include/application_manager/application.h6
-rw-r--r--src/components/application_manager/include/application_manager/application_impl.h6
-rw-r--r--src/components/application_manager/src/application_impl.cc2
-rw-r--r--src/components/application_manager/test/include/application_manager/mock_application.h2
4 files changed, 8 insertions, 8 deletions
diff --git a/src/components/application_manager/include/application_manager/application.h b/src/components/application_manager/include/application_manager/application.h
index 963f93ce5c..2abd2eaea0 100644
--- a/src/components/application_manager/include/application_manager/application.h
+++ b/src/components/application_manager/include/application_manager/application.h
@@ -953,11 +953,11 @@ class Application : public virtual InitialApplicationData,
virtual const std::string& cloud_app_endpoint() const = 0;
/**
- * @brief Get cloud app authtoken to be used in connection handshake after
+ * @brief Get cloud app auth token to be used in connection handshake after
* websocket open.
- * @return cloud app authtoken
+ * @return cloud app auth token
*/
- virtual const std::string& cloud_app_authtoken() const = 0;
+ virtual const std::string& cloud_app_auth_token() const = 0;
/**
* @brief Get cloud app tranpsport type. Defines the type of websocket
diff --git a/src/components/application_manager/include/application_manager/application_impl.h b/src/components/application_manager/include/application_manager/application_impl.h
index 8fa1553811..0b43b014b6 100644
--- a/src/components/application_manager/include/application_manager/application_impl.h
+++ b/src/components/application_manager/include/application_manager/application_impl.h
@@ -416,11 +416,11 @@ class ApplicationImpl : public virtual Application,
const std::string& cloud_app_endpoint() const OVERRIDE;
/**
- * @brief Get cloud app authtoken to be used in connection handshake after
+ * @brief Get cloud app auth token to be used in connection handshake after
* websocket open.
- * @return cloud app authtoken
+ * @return cloud app auth token
*/
- const std::string& cloud_app_authtoken() const OVERRIDE;
+ const std::string& cloud_app_auth_token() const OVERRIDE;
/**
* @brief Get cloud app tranpsport type. Defines the type of websocket
diff --git a/src/components/application_manager/src/application_impl.cc b/src/components/application_manager/src/application_impl.cc
index 732e5bc804..558a4638c1 100644
--- a/src/components/application_manager/src/application_impl.cc
+++ b/src/components/application_manager/src/application_impl.cc
@@ -1167,7 +1167,7 @@ const std::string& ApplicationImpl::cloud_app_endpoint() const {
return endpoint_;
}
-const std::string& ApplicationImpl::cloud_app_authtoken() const {
+const std::string& ApplicationImpl::cloud_app_auth_token() const {
return auth_token_;
}
diff --git a/src/components/application_manager/test/include/application_manager/mock_application.h b/src/components/application_manager/test/include/application_manager/mock_application.h
index 486871b5de..9c9041284c 100644
--- a/src/components/application_manager/test/include/application_manager/mock_application.h
+++ b/src/components/application_manager/test/include/application_manager/mock_application.h
@@ -343,7 +343,7 @@ class MockApplication : public ::application_manager::Application {
MOCK_CONST_METHOD0(is_remote_control_supported, bool());
MOCK_METHOD1(set_remote_control_supported, void(const bool allow));
MOCK_CONST_METHOD0(cloud_app_endpoint, const std::string&());
- MOCK_CONST_METHOD0(cloud_app_authtoken, const std::string&());
+ MOCK_CONST_METHOD0(cloud_app_auth_token, const std::string&());
MOCK_CONST_METHOD0(cloud_app_transport_type, const std::string&());
MOCK_CONST_METHOD0(hybrid_app_preference,
const mobile_apis::HybridAppPreference::eType&());