Skip to main content

get_credentials

Function get_credentials 

Source
pub fn get_credentials() -> Option<Credentials>
Expand description

Gets the current credentials if logged in.

Returns None if not logged in or credentials cannot be loaded. Respects the use_keychain config setting.