Trait TokenReader

Source
pub trait TokenReader: Sealed {
    // Required method
    fn parse_oauth_token<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = Result<TokenResponse>> + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

Add parse_oauth_token feature to reqwest::Response.

Required Methods§

Source

fn parse_oauth_token<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<TokenResponse>> + 'async_trait>>
where Self: 'async_trait,

Implementations on Foreign Types§

Source§

impl TokenReader for Response

Source§

fn parse_oauth_token<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<TokenResponse>> + 'async_trait>>
where Self: 'async_trait,

Implementors§