Skip to main content

read_auth

Function read_auth 

Source
pub fn read_auth() -> Result<AuthStore, ConfigError>
Expand description

Read the auth store. Missing file ⇒ empty store (not an error). Malformed JSON ⇒ ConfigError::Json (we do not silently swallow a corrupt auth file).