delete_generic_password_options

Function delete_generic_password_options 

Source
pub fn delete_generic_password_options(options: PasswordOptions) -> Result<()>
Expand description

Delete the generic password keychain entry for the given service and account. If none exists, fails with error code errSecItemNotFound.

See PasswordOptions and new_generic_password.

use security_framework::passwords::{delete_generic_password_options, PasswordOptions};
delete_generic_password_options(PasswordOptions::new_generic_password("service", "account"));