Skip to main content

delete_credential

Function delete_credential 

Source
pub fn delete_credential(provider_id: &str) -> Result<bool, ConfigError>
Expand description

Remove provider_id from the store. Returns true if a credential was present (and is now gone), false if it was already absent. Always rewrites the file when the provider existed (so auth logout reflects the new state on disk even if the map isn’t empty).