Struct yup_oauth2::ServiceAccountAccess
[−]
[src]
pub struct ServiceAccountAccess<C> { /* fields omitted */ }
A token source (GetToken
) yielding OAuth tokens for services that use ServiceAccount authorization.
This token source caches token and automatically renews expired ones.
Methods
impl<'a, C> ServiceAccountAccess<C> where C: BorrowMut<Client>
[src]
fn new(key: ServiceAccountKey, client: C) -> ServiceAccountAccess<C>
Returns a new ServiceAccountAccess
token source.