1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-09 10:01:45 +03:00

Add a CLI tool to trigger a provisioning job for all users

This commit is contained in:
Quentin Gliech
2023-06-29 09:40:20 +02:00
parent a92d6fce8f
commit 859c4486bb
2 changed files with 39 additions and 0 deletions

View File

@ -269,6 +269,15 @@ mod jobs {
}
}
#[doc(hidden)]
#[must_use]
pub fn new_for_id(user_id: Ulid) -> Self {
Self {
user_id,
set_display_name: None,
}
}
/// Set the display name of the user.
#[must_use]
pub fn set_display_name(mut self, display_name: String) -> Self {