feat(auth): add secure credential persistence using system keyring
- Add keyring crate for secure credential storage (KWallet/GNOME Keyring) - Create credentials module with save/load/clear functions - Add auto_login command that uses saved credentials - Add "Remember me" checkbox to login form (default: checked) - Auto-login on app startup if credentials are saved - Clear credentials from keyring on logout - Show dynamic status during initialization (connecting, checking, logging in)
This commit is contained in:
1 parent
541f46e430
commit
6eed045404
6 files changed
+280
-9
No files matched your search
@@ -7,6 +7,7 @@ pub mod api;
|
||||
pub mod cache;
|
||||
pub mod commands;
|
||||
pub mod config;
|
||||
pub mod credentials;
|
||||
pub mod discogs;
|
||||
pub mod lastfm;
|
||||
pub mod library;
|
||||
@@ -105,6 +106,11 @@ pub fn run() {
|
||||
commands::logout,
|
||||
commands::is_logged_in,
|
||||
commands::get_user_info,
|
||||
// Credential persistence commands
|
||||
commands::has_saved_credentials,
|
||||
commands::save_credentials,
|
||||
commands::clear_saved_credentials,
|
||||
commands::auto_login,
|
||||
// Search commands
|
||||
commands::search_albums,
|
||||
commands::search_tracks,
|
||||
|
||||
Reference in new issue
Block a user