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