Implements credential storage in the lib.
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
//! A high-performance, asynchronous Rust library for interacting with Nextcloud's
|
||||
//! WebDAV file transfer APIs, OCS Sharing API, and credential storage.
|
||||
|
||||
pub mod auth;
|
||||
pub mod client;
|
||||
pub mod config;
|
||||
pub mod credentials;
|
||||
pub mod error;
|
||||
pub mod models;
|
||||
pub mod progress;
|
||||
@@ -12,8 +14,13 @@ pub mod sharing;
|
||||
pub mod webdav;
|
||||
|
||||
// Convenient top-level re-exports
|
||||
pub use auth::{
|
||||
initiate_login_flow, interactive_browser_login, poll_login_flow, LoginFlowInitResponse,
|
||||
LoginFlowPollInfo, LoginFlowPollSuccess,
|
||||
};
|
||||
pub use client::{NextcloudClient, ServerStatus};
|
||||
pub use config::{AccountCredentials, ClientConfig};
|
||||
pub use credentials::{CredentialStore, StoredAccount, KEYRING_SERVICE_NAME};
|
||||
pub use error::{NextcloudError, Result};
|
||||
pub use models::{UploadOptions, UploadResult};
|
||||
pub use progress::{ProgressCallback, ProgressEvent};
|
||||
|
||||
Reference in New Issue
Block a user