Type Alias tame_oauth::gcp::service_account::ServiceAccountProvider
source · pub type ServiceAccountProvider = CachedTokenProvider<ServiceAccountProviderInner>;
Expand description
A token provider for a GCP service account. Caches tokens internally.
Aliased Type§
struct ServiceAccountProvider { /* private fields */ }
Implementations§
source§impl ServiceAccountProvider
impl ServiceAccountProvider
pub fn new(info: ServiceAccountInfo) -> Result<Self, Error>
sourcepub fn get_account_info(&self) -> &ServiceAccountInfo
pub fn get_account_info(&self) -> &ServiceAccountInfo
Gets the ServiceAccountInfo
this was created for