use self::authentication::Authentication;
use anyhow::Result;
pub mod authentication;
pub mod backends;
pub mod storage;
pub trait StorageBackend: std::fmt::Debug {
fn store(&self, host: &str, authentication: &Authentication) -> Result<()>;
fn get(&self, host: &str) -> Result<Option<Authentication>>;
fn delete(&self, host: &str) -> Result<()>;
}