use std::future::Future;
pub trait AuthTokenStore: Send + Sync + 'static {
fn load_token(
&self,
) -> impl Future<Output = Result<Option<String>, Box<dyn std::error::Error + Send + Sync>>> + Send;
fn save_token(
&self,
token: &str,
) -> impl Future<Output = Result<(), Box<dyn std::error::Error + Send + Sync>>> + Send;
}