diff --git a/src/aws-cpp-sdk-core/include/aws/core/auth/SSOCredentialsProvider.h b/src/aws-cpp-sdk-core/include/aws/core/auth/SSOCredentialsProvider.h index 7e3436d0dc6..2fb5eec70b6 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/auth/SSOCredentialsProvider.h +++ b/src/aws-cpp-sdk-core/include/aws/core/auth/SSOCredentialsProvider.h @@ -21,7 +21,7 @@ namespace Aws { public: SSOCredentialsProvider(); explicit SSOCredentialsProvider(const Aws::String& profile); - explicit SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr config); + explicit SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr config); /** * Retrieves the credentials if found, otherwise returns empty credential set. */ @@ -44,7 +44,7 @@ namespace Aws { // The SSO Token Provider Aws::Auth::SSOBearerTokenProvider m_bearerTokenProvider; // The client configuration to use - std::shared_ptr m_config; + std::shared_ptr m_config; void Reload() override; void RefreshIfExpired(); diff --git a/src/aws-cpp-sdk-core/include/aws/core/auth/bearer-token-provider/SSOBearerTokenProvider.h b/src/aws-cpp-sdk-core/include/aws/core/auth/bearer-token-provider/SSOBearerTokenProvider.h index 9f98f797450..01c4eaec835 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/auth/bearer-token-provider/SSOBearerTokenProvider.h +++ b/src/aws-cpp-sdk-core/include/aws/core/auth/bearer-token-provider/SSOBearerTokenProvider.h @@ -24,7 +24,7 @@ namespace Aws public: SSOBearerTokenProvider(); explicit SSOBearerTokenProvider(const Aws::String& awsProfile); - explicit SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr config); + explicit SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr config); /** * Retrieves the bearerToken if found, otherwise returns empty credential set. */ diff --git a/src/aws-cpp-sdk-core/source/auth/SSOCredentialsProvider.cpp b/src/aws-cpp-sdk-core/source/auth/SSOCredentialsProvider.cpp index 052083e64bd..60b4134c4c1 100644 --- a/src/aws-cpp-sdk-core/source/auth/SSOCredentialsProvider.cpp +++ b/src/aws-cpp-sdk-core/source/auth/SSOCredentialsProvider.cpp @@ -36,7 +36,7 @@ SSOCredentialsProvider::SSOCredentialsProvider(const Aws::String& profile) : SSO { } -SSOCredentialsProvider::SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr config) : +SSOCredentialsProvider::SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr config) : m_profileToUse(profile), m_bearerTokenProvider(profile), m_config(std::move(config)) diff --git a/src/aws-cpp-sdk-core/source/auth/bearer-token-provider/SSOBearerTokenProvider.cpp b/src/aws-cpp-sdk-core/source/auth/bearer-token-provider/SSOBearerTokenProvider.cpp index 0050d3c92de..05c90dac566 100644 --- a/src/aws-cpp-sdk-core/source/auth/bearer-token-provider/SSOBearerTokenProvider.cpp +++ b/src/aws-cpp-sdk-core/source/auth/bearer-token-provider/SSOBearerTokenProvider.cpp @@ -35,7 +35,7 @@ SSOBearerTokenProvider::SSOBearerTokenProvider(const Aws::String& awsProfile) : { } -SSOBearerTokenProvider::SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr config) +SSOBearerTokenProvider::SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr config) : m_profileToUse(awsProfile), m_config(config ? std::move(config) : Aws::MakeShared(SSO_BEARER_TOKEN_PROVIDER_LOG_TAG)), m_lastUpdateAttempt((int64_t)0)