- Publicity: Public Only All
local-procs.tcl
Procs for local authentication.
- Location:
- packages/acs-authentication/tcl/local-procs.tcl
- Created:
- 2003-05-13
- Author:
- Lars Pind <lars@collaobraid.biz>
- CVS Identification:
$Id: local-procs.tcl,v 1.54 2026/12/04 17:30:09 gustafn Exp $
Procedures in this file
- auth::local::password::complete_recovery (public)
- auth::local::password::send_invitation (public)
- auth::local::password::send_reset_link (public)
- auth::local::password::verify_registration (public)
Detailed information
auth::local::password::complete_recovery (public)
auth::local::password::complete_recovery token new_password
Reset a local password using the emailed token. Return whether it was redeemed. Password or account changes can invalidate outstanding tokens.
- Parameters:
- token (required)
- new_password (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
auth::local::password::send_invitation (public)
auth::local::password::send_invitation user_id
Send an account invitation to the current email address of a local user. The recipient can set a password using the single-use link within 30 minutes. Return 0 if no local account with an email address is available. Callers must authorize the invitation before using this procedure.
- Parameters:
- user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
auth::local::password::send_reset_link (public)
auth::local::password::send_reset_link user_id
Send a single-use password reset link to the current email address of a local account. The link expires after 30 minutes. Return 0 if no local account with an email address is available. The current password stays valid until the link is redeemed. Callers must authorize the request.
- Parameters:
- user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
auth::local::password::verify_registration (public)
auth::local::password::verify_registration token
Verify the email address and return a single-use password setup token. Return the empty string when the verification link can no longer be used.
- Parameters:
- token (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.