Skip to content

Commit

Permalink
Fix MSVC CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Sep 18, 2024
1 parent 153fdff commit fa6fb75
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Aws {
public:
SSOCredentialsProvider();
explicit SSOCredentialsProvider(const Aws::String& profile);
explicit SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr<const Client::ClientConfiguration> config);
explicit SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr<const Aws::Client::ClientConfiguration> config);
/**
* Retrieves the credentials if found, otherwise returns empty credential set.
*/
Expand All @@ -44,7 +44,7 @@ namespace Aws {
// The SSO Token Provider
Aws::Auth::SSOBearerTokenProvider m_bearerTokenProvider;
// The client configuration to use
std::shared_ptr<const Client::ClientConfiguration> m_config;
std::shared_ptr<const Aws::Client::ClientConfiguration> m_config;

void Reload() override;
void RefreshIfExpired();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Aws
public:
SSOBearerTokenProvider();
explicit SSOBearerTokenProvider(const Aws::String& awsProfile);
explicit SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr<const Client::ClientConfiguration> config);
explicit SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr<const Aws::Client::ClientConfiguration> config);
/**
* Retrieves the bearerToken if found, otherwise returns empty credential set.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SSOCredentialsProvider::SSOCredentialsProvider(const Aws::String& profile) : SSO
{
}

SSOCredentialsProvider::SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr<const Client::ClientConfiguration> config) :
SSOCredentialsProvider::SSOCredentialsProvider(const Aws::String& profile, std::shared_ptr<const Aws::Client::ClientConfiguration> config) :
m_profileToUse(profile),
m_bearerTokenProvider(profile),
m_config(std::move(config))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SSOBearerTokenProvider::SSOBearerTokenProvider(const Aws::String& awsProfile) :
{
}

SSOBearerTokenProvider::SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr<const Client::ClientConfiguration> config)
SSOBearerTokenProvider::SSOBearerTokenProvider(const Aws::String& awsProfile, std::shared_ptr<const Aws::Client::ClientConfiguration> config)
: m_profileToUse(awsProfile),
m_config(config ? std::move(config) : Aws::MakeShared<Client::ClientConfiguration>(SSO_BEARER_TOKEN_PROVIDER_LOG_TAG)),
m_lastUpdateAttempt((int64_t)0)
Expand Down

0 comments on commit fa6fb75

Please sign in to comment.