security_framework::passwords

Function set_generic_password

Source
pub fn set_generic_password(
    service: &str,
    account: &str,
    password: &[u8],
) -> Result<()>
Expand description

Set a generic password for the given service and account. Creates or updates a keychain entry.