pub trait CredentialStore: Send + Sync {
// Required methods
fn set(&self, account: &str, secret: &str) -> Result<(), CredentialError>;
fn get(&self, account: &str) -> Result<String, CredentialError>;
fn delete(&self, account: &str) -> Result<(), CredentialError>;
// Provided method
fn exists(&self, account: &str) -> bool { ... }
}Expand description
The seam between Flow code and the OS keyring (or a test double).