AWS SDK for C++  1.9.1
AWS SDK for C++
STSCredentialsProvider.h
Go to the documentation of this file.
1 
7 #pragma once
8 
14 #include <memory>
15 
16 namespace Aws
17 {
18  namespace Auth
19  {
26  {
27  public:
29 
34 
35  protected:
36  void Reload() override;
37 
38  private:
39  void RefreshIfExpired();
40  Aws::String CalculateQueryString() const;
41 
43  Aws::Auth::AWSCredentials m_credentials;
44  Aws::String m_roleArn;
45  Aws::String m_tokenFile;
46  Aws::String m_sessionName;
47  Aws::String m_token;
48  bool m_initialized;
49  };
50  } // namespace Auth
51 } // namespace Aws
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
DateTime.h
Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider::GetAWSCredentials
AWSCredentials GetAWSCredentials() override
Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider::STSAssumeRoleWebIdentityCredentialsProvider
STSAssumeRoleWebIdentityCredentialsProvider()
Aws::Auth::AWSCredentialsProvider
Definition: AWSCredentialsProvider.h:51
Aws::Auth::AWSCredentials
Definition: AWSCredentials.h:19
Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider
Definition: STSCredentialsProvider.h:26
AWSString.h
Aws::UniquePtr
std::unique_ptr< T, Deleter< T > > UniquePtr
Definition: AWSMemory.h:249
AWSCredentialsProvider.h
Core_EXPORTS.h
AWSHttpResourceClient.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider::Reload
void Reload() override