AuthAPI

Trait AuthAPI 

Source
pub trait AuthAPI {
    // Required methods
    fn sign<S: AsRef<str>>(&self, object: S, build: &RequestBuilder) -> String;
    fn oss_sign<S: AsRef<str>>(
        &self,
        object: S,
        build: &RequestBuilder,
    ) -> String;
}

Required Methods§

Source

fn sign<S: AsRef<str>>(&self, object: S, build: &RequestBuilder) -> String

Source

fn oss_sign<S: AsRef<str>>(&self, object: S, build: &RequestBuilder) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> AuthAPI for OSS