Trait oauth_api::Authorization [] [src]

pub trait Authorization {
    fn auth_with(&mut self, token: &Token) -> Result<(), Error>;
}

Helper trait for extending the builder-style pattern of curl::easy::Easy.

This trait allows chaining the correct authorization headers onto a curl request via the builder style.

Required Methods

Implementors