Function jarida::get_and_validate_credentials [−][src]
pub fn get_and_validate_credentials(
cfg: &Config,
db: &mut Store
) -> Result<(String, DataGuard)>
Prompt the user for their credentials, as needed, in order to work with an encrypted database.
Returns the user’s name and the DataGuard for used for decrypting the database.