[−][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.
keychains
is an array of keychains to search or None to search the default keychain.service
is the name of the service to search for.account
is the name of the account to search for.