Skip to main content

list_accounts

Function list_accounts 

Source
pub fn list_accounts(kind: CredentialKind) -> Result<Vec<String>, Error>
Expand description

List all accounts stored under a given kind’s service. Returns an empty vector (not an error) when no entries exist or the platform has no keychain. Useful for the Settings UI to show the user what’s saved.