Skip to main contentModule account_status
Source use std::sync::Arc; ๐ use futures::TryStreamExt; ๐ use ruma::OwnedUserId; ๐ use tuwunel_core::Error; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::err; ๐ use tuwunel_core::info; ๐ use tuwunel_core::info; ๐ use tuwunel_core::warn; ๐ use tuwunel_database::KeyBuf; ๐ use tuwunel_database::Map; ๐ use crate::Services; ๐ use crate::integrity::account_status::Columns; ๐ use crate::integrity::account_status::Named; ๐ use crate::integrity::account_status::Subject; ๐ use crate::integrity::account_status::columns; ๐ use crate::integrity::account_status::deactivations; ๐ use crate::integrity::account_status::hash_kept; ๐ use crate::integrity::account_status::subjects; ๐ use crate::integrity::account_status::unmarked_passwordless; ๐ use crate::users::PASSWORD_DISABLED; ๐ use crate::users::PASSWORD_SENTINEL; ๐
- adopt_deactivations ๐
- Empties the password of every account a foreign column marks deactivated.
- adopt_passwordless ๐
- Restores the sentinel password on accounts an identity provider
authenticates.
- migrate_account_status ๐
- Reconciles account states a foreign database keeps outside the password
column.
- unparsable ๐
- write_password ๐
- Writes one adoptable account, tallying it against the rows that could not be
read.