[][src]Trait yup_oauth2::AuthFlow

pub trait AuthFlow<C> {
    type TokenGetter: GetToken;
    fn build_token_getter(self, client: Client<C>) -> Self::TokenGetter;
}

An internal trait implemented by flows to be used by an authenticator.

Associated Types

Loading content...

Required methods

fn build_token_getter(self, client: Client<C>) -> Self::TokenGetter

Loading content...

Implementors

impl<FD, C> AuthFlow<C> for DeviceFlow<FD> where
    FD: FlowDelegate + Send + 'static,
    C: Connect + 'static, 
[src]

type TokenGetter = DeviceFlowImpl<FD, C>

impl<FD, C> AuthFlow<C> for InstalledFlow<FD> where
    FD: FlowDelegate + Send + 'static,
    C: Connect + 'static, 
[src]

type TokenGetter = InstalledFlowImpl<FD, C>

Loading content...