Function security_framework::os::macos::passwords::find_generic_password
source ยท pub fn find_generic_password(
keychains: Option<&[SecKeychain]>,
service: &str,
account: &str,
) -> Result<(SecKeychainItemPassword, SecKeychainItem)>
Expand description
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.