Skip to main content

Module account_status

Module account_status 

Source

Re-exportsยง

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; ๐Ÿ”’

Functionsยง

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.