♻️ refactor: remove redundant credential module
- Delete src/credential.rs - module was unused in actual codebase - Remove credential module references from lib.rs exports - Update documentation to use standard OAuth2 terminology - Fix CLI docs to reference correct credential_file config - Application uses ConsoleApplicationSecret directly instead The custom Credential struct duplicated functionality already provided by yup_oauth2::ConsoleApplicationSecret. All credential loading is handled by ClientConfig::new_from_configuration() which uses the standard OAuth2 types.
This commit is contained in:
committed by
Jeremiah Russell
parent
2ca7d27b91
commit
4c2cfac06d
@@ -5,7 +5,6 @@
|
||||
#![doc = include_str!("../docs/lib/lib.md")]
|
||||
|
||||
mod client_config;
|
||||
mod credential;
|
||||
mod eol_action;
|
||||
mod error;
|
||||
mod gmail_client;
|
||||
@@ -21,7 +20,6 @@ pub(crate) mod utils;
|
||||
pub use gmail_client::DEFAULT_MAX_RESULTS;
|
||||
|
||||
pub use client_config::ClientConfig;
|
||||
pub use credential::Credential;
|
||||
pub use gmail_client::GmailClient;
|
||||
pub(crate) use gmail_client::MessageSummary;
|
||||
pub use retention::Retention;
|
||||
|
||||
Reference in New Issue
Block a user