Skip to main content

Module account_tokens

Module account_tokens 

Source
Expand description

Atomic password-reset completion over the configured database adapter.

Functions§

account_profile_view
Reads the selected account and profile for app-owned profile rendering. Credentials and other users never enter this view.
complete_email_verification
Claims a live email token and marks its account profile verified in one transaction.
complete_password_reset
Claims a live reset token, changes its account password, and revokes sessions atomically.
issue_password_reset
Persists one reset token and its delivery work in a single adapter transaction.
register_account
Creates a customer account and its profile in one configured-backend transaction.
update_account_profile
Updates only the signed-in actor’s editable profile fields. Privileged account type, verification state, credentials, and memberships are excluded.