1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Authentication management for CEDA credentials
//!
//! This module provides functions for managing CEDA authentication credentials,
//! including interactive setup, verification, and secure storage in .env files.
//!
//! # Examples
//!
//! ```rust,no_run
//! use midas_fetcher::auth::{check_credentials, setup_credentials};
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! // Check if credentials are available
//! if !check_credentials() {
//! println!("Setting up credentials...");
//! setup_credentials().await?;
//! }
//! # Ok(())
//! # }
//! ```
// Re-export main public API
pub use ;