[−][src]Function security_framework::os::macos::passwords::find_generic_password
pub fn find_generic_password(
keychains: Option<&[SecKeychain]>,
service: &str,
account: &str
) -> Result<(SecKeychainItemPassword, SecKeychainItem)>
Find a generic password.
The underlying system supports passwords with 0 values, so this returns a vector of bytes rather than a string.
keychainsis an array of keychains to search or None to search the default keychain.serviceis the name of the service to search for.accountis the name of the account to search for.