Skip to main content

Module user_management

Module user_management 

Source

Re-exports§

pub use update::error_endpoint;
pub use update::handle_update_user;
pub use update::ok_endpoint;
pub use update::update_user_endpoint;

Structs§

ChangeEmailConfig
Configuration for the change-email feature.
ChangeEmailRequest
Body of the public changeEmail server operation.
DeleteUserCallbackQuery
Query of the public deleteUserCallback server operation.
DeleteUserConfig
Configuration for the delete-user feature.
DeleteUserRequest
Body of the public deleteUser server operation.
UserManagementConfig
Combined configuration for the UserManagementPlugin.
UserManagementPlugin
User self-service management plugin (change email & delete account).

Traits§

AfterDeleteUser
Hook invoked after a user has been deleted.
BeforeDeleteUser
Hook invoked before a user is deleted.
SendChangeEmailConfirmation
Custom callback for sending change-email confirmation emails.
SendDeleteAccountVerification
Application delivery of an issued account-deletion proof. The original request is available through current_request_hook_context during delivery.

Functions§

error_endpoint
Build the public error-page operation. Supply a genuine request with its original URL.
handle_update_user
Handle user profile update through the shared profile lifecycle.
ok_endpoint
Build the public health-check operation without requiring credentials or input.
update_user_endpoint
Build the builtin profile-update operation, including configured input fields.

Type Aliases§

UserInfo
The initialized user’s full snapshot passed to application lifecycle hooks.