security_framework::passwords

Function set_internet_password

Source
pub fn set_internet_password(
    server: &str,
    security_domain: Option<&str>,
    account: &str,
    path: &str,
    port: Option<u16>,
    protocol: SecProtocolType,
    authentication_type: SecAuthenticationType,
    password: &[u8],
) -> Result<()>
Expand description

Set an internet password for the given endpoint parameters. Creates or updates a keychain entry.