Function security_framework::os::macos::passwords::find_internet_password

source ยท
pub fn find_internet_password(
    keychains: Option<&[SecKeychain]>,
    server: &str,
    security_domain: Option<&str>,
    account: &str,
    path: &str,
    port: Option<u16>,
    protocol: SecProtocolType,
    authentication_type: SecAuthenticationType,
) -> Result<(SecKeychainItemPassword, SecKeychainItem)>
Expand description
  • keychains is an array of keychains to search or None to search the default keychain.
  • server: server name.
  • security_domain: security domain. This parameter is optional.
  • account: account name.
  • path: the path.
  • port: The TCP/IP port number.
  • protocol: The protocol associated with this password.
  • authentication_type: The authentication scheme used.