use crate::{client::route::Route, error::Error, model::misc::Params};
use async_trait::async_trait;
use reqwest::Response;
pub mod basic;
#[async_trait]
pub trait Auth {
async fn login(&self) -> Result<String, Error> {
unimplemented!()
}
async fn get(
&self,
_route: Route,
_key: &str,
_user_agent: &str,
_params: &Params,
) -> Result<Response, Error> {
unimplemented!()
}
async fn post(
&self,
_route: Route,
_key: &str,
_user_agent: &str,
_params: &Params,
) -> Result<Response, Error> {
unimplemented!()
}
async fn delete(
&self,
_route: Route,
_key: &str,
_user_agent: &str,
) -> Result<Response, Error> {
unimplemented!()
}
async fn put(
&self,
_route: Route,
_key: &str,
_user_agent: &str,
_params: &Params,
) -> Result<Response, Error> {
unimplemented!()
}
}