Android-cuttlefish cvd tool
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
cuttlefish::anonymous_namespace{credential_source.cc}::GceMetadataCredentialSource Class Reference
Inheritance diagram for cuttlefish::anonymous_namespace{credential_source.cc}::GceMetadataCredentialSource:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::anonymous_namespace{credential_source.cc}::GceMetadataCredentialSource:
Collaboration graph
[legend]

Public Member Functions

 GceMetadataCredentialSource (HttpClient &)
 
- Public Member Functions inherited from cuttlefish::anonymous_namespace{credential_source.cc}::RefreshingCredentialSource
 RefreshingCredentialSource ()
 
virtual Result< std::string > Credential () final override
 
- Public Member Functions inherited from cuttlefish::CredentialSource
virtual ~CredentialSource ()=default
 
virtual Result< std::string > Credential ()=0
 

Static Public Member Functions

static std::unique_ptr< CredentialSourceMake (HttpClient &)
 

Private Member Functions

Result< std::pair< std::string, std::chrono::seconds > > Refresh () override
 

Private Attributes

HttpClienthttp_client_
 

Constructor & Destructor Documentation

◆ GceMetadataCredentialSource()

cuttlefish::anonymous_namespace{credential_source.cc}::GceMetadataCredentialSource::GceMetadataCredentialSource ( HttpClient http_client)

Member Function Documentation

◆ Make()

std::unique_ptr< CredentialSource > cuttlefish::anonymous_namespace{credential_source.cc}::GceMetadataCredentialSource::Make ( HttpClient http_client)
static

◆ Refresh()

Result< std::pair< std::string, std::chrono::seconds > > cuttlefish::anonymous_namespace{credential_source.cc}::GceMetadataCredentialSource::Refresh ( )
overrideprivatevirtual

Member Data Documentation

◆ http_client_

HttpClient& cuttlefish::anonymous_namespace{credential_source.cc}::GceMetadataCredentialSource::http_client_
private

The documentation for this class was generated from the following file: