pub trait Auth {
// Required methods
fn oss_sign(
&self,
verb: &str,
bucket: &str,
object: &str,
oss_resources: &str,
headers: &HeaderMap,
) -> Result<String, OSSError>;
fn sign_content(&self, content: &str) -> Result<String, OSSError>;
}