Skip to main contentModule password
Source use std::net::IpAddr; ๐ use futures::FutureExt; ๐ use futures::TryFutureExt; ๐ use ruma::OwnedUserId; ๐ use ruma::UserId; ๐ use ruma::api::client::session::login::v3::Password; ๐ use ruma::api::client::session::login::v3::Request; ๐ use ruma::api::client::uiaa; ๐ use tuwunel_core::Err; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::debug_error; ๐ use tuwunel_core::err; ๐ use tuwunel_core::utils::hash::verify_password; ๐ use tuwunel_service::Services; ๐ use super::ldap_login; ๐ use crate::Ruma; ๐
- handle_login ๐
- password_login ๐
- Authenticates the given user by its ID and its password.