pub trait AuthStorageBackend: Send + Sync {
// Required methods
fn read(&self) -> Result<Option<String>, AuthError>;
fn write(&self, data: &str) -> Result<(), AuthError>;
fn delete(&self) -> Result<(), AuthError>;
}Expand description
Storage backend trait