1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// SPDX-License-Identifier: GPL-3.0-only //! Authentication. Wire endpoints: `crate::models::login::login_service`. mod login; mod verify; /// Accessed as [`crate::Client::auth`]. #[derive(Debug, Clone)] pub struct Auth { http: crate::http::Client, } impl Auth { pub(crate) fn new(http: crate::http::Client) -> Self { Self { http } } }