//! Authentication providers for Ditto.
//!
//! This module provides types needed for authenticating with Ditto Cloud or
//! an on-premises authentication server when using
//! [`DittoConfigConnect::Server`].
//!
//! [`DittoConfigConnect::Server`]: crate::DittoConfigConnect::Server

mod auth;

pub use self::auth::{
    AuthenticationClientFeedback, DittoAuthenticationEventHandler, DittoAuthenticator,
};

/// Authentication provider for testing and development. Not intended for production use.
pub fn get_development_provider() -> String {
    ffi_sdk::dittoffi_DITTO_DEVELOPMENT_PROVIDER().to_string()
}
