Android-cuttlefish cvd tool
Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
cuttlefish::LuciCredentialHelperSource Class Reference

#include <luci_credential_helper_source.h>

Inheritance diagram for cuttlefish::LuciCredentialHelperSource:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::LuciCredentialHelperSource:
Collaboration graph
[legend]

Static Public Member Functions

static std::unique_ptr< CredentialSource > Make (const std::string &scope)
 

Private Member Functions

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

Private Attributes

std::string helper_bin_
 
std::string scope_
 

Additional Inherited Members

- Public Member Functions inherited from cuttlefish::RefreshingCredentialSource
virtual Result< std::string > Credential () final override
 
- Public Member Functions inherited from cuttlefish::CredentialSource
virtual ~CredentialSource ()=default
 
virtual Result< std::string > Credential ()=0
 
- Protected Member Functions inherited from cuttlefish::RefreshingCredentialSource
 RefreshingCredentialSource ()
 

Constructor & Destructor Documentation

◆ LuciCredentialHelperSource()

cuttlefish::LuciCredentialHelperSource::LuciCredentialHelperSource ( std::string  helper_bin,
std::string  scope 
)
private

Member Function Documentation

◆ Make()

std::unique_ptr< CredentialSource > cuttlefish::LuciCredentialHelperSource::Make ( const std::string &  scope)
static

◆ Refresh()

Result< std::pair< std::string, std::chrono::seconds > > cuttlefish::LuciCredentialHelperSource::Refresh ( )
overrideprivatevirtual

Member Data Documentation

◆ helper_bin_

std::string cuttlefish::LuciCredentialHelperSource::helper_bin_
private

◆ scope_

std::string cuttlefish::LuciCredentialHelperSource::scope_
private

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