Skip to main content

Authentication

Trait Authentication 

Source
pub trait Authentication {
    // Required method
    fn execute(
        &self,
        builder: RequestBuilder,
        method: &str,
        uri: &str,
        options: &[(&str, &str)],
    ) -> RequestBuilder;
}

Required Methods§

Source

fn execute( &self, builder: RequestBuilder, method: &str, uri: &str, options: &[(&str, &str)], ) -> RequestBuilder

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Authentication for BearerAuthentication

Source§

impl Authentication for OAuthAuthentication

Available on crate feature oauth10a only.