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]

Returns a new ServiceAccountAccess token source.

Trait Implementations

impl<C: BorrowMut<Client>> GetToken for ServiceAccountAccess<C>
[src]

Auto Trait Implementations

impl<C> Send for ServiceAccountAccess<C> where
    C: Send

impl<C> Sync for ServiceAccountAccess<C> where
    C: Sync