Re-exportsΒ§
use std::collections::BTreeSet;πuse axum::extract::State;πuse futures::StreamExt;πuse ruma::MilliSecondsSinceUnixEpoch;πuse ruma::UserId;πuse ruma::profile::ProfileFieldName;πuse ruma::thirdparty::Medium;πuse synapse_admin_api::users::create_or_modify::v2 as create_or_modify;πuse synapse_admin_api::users::create_or_modify::v2::ThirdPartyIdentifier;πuse tuwunel_core::Err;πuse tuwunel_core::Result;πuse tuwunel_core::arrayvec::ArrayVec;πuse tuwunel_core::utils::BoolExt;πuse tuwunel_core::utils::IterStream;πuse tuwunel_core::utils::ReadyExt;πuse tuwunel_core::utils::stream::automatic_width;πuse tuwunel_service::profile::ProfileValue;πuse tuwunel_service::profile::string_field;πuse tuwunel_service::threepid::canonicalize_email;πuse tuwunel_service::users::PASSWORD_SENTINEL;πuse super::user_details;πuse crate::Ruma;πuse crate::refuse_server_user;πuse crate::require_admin;π
FunctionsΒ§
- admin_
create_ πor_ modify_ route PUT /_synapse/admin/v2/users/{user_id}- canonical_
emails π - Canonicalizes the email addresses among
threepids. - changes_
access π - replace_
emails π - Replaces the userβs email bindings with exactly the addresses in
desired. - requested_
profile π - write_
credentials π
Type AliasesΒ§
- Emails π
- Profile
Writes π