• 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

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):
packages/acs-subsite/www/user/password-reset.tcl packages/acs-subsite/ www/user/password-reset.tcl auth::local::password::complete_recovery auth::local::password::complete_recovery packages/acs-subsite/www/user/password-reset.tcl->auth::local::password::complete_recovery ad_conn ad_conn (public) auth::local::password::complete_recovery->ad_conn ad_user_login ad_user_login (public) auth::local::password::complete_recovery->ad_user_login auth::local::password::notify_changed auth::local::password::notify_changed (private) auth::local::password::complete_recovery->auth::local::password::notify_changed auth::token::redeem auth::token::redeem (public) auth::local::password::complete_recovery->auth::token::redeem

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):
packages/acs-admin/www/users/user-add-3.tcl packages/acs-admin/ www/users/user-add-3.tcl auth::local::password::send_invitation auth::local::password::send_invitation packages/acs-admin/www/users/user-add-3.tcl->auth::local::password::send_invitation auth::local::password::send_setup_link auth::local::password::send_setup_link (private) auth::local::password::send_invitation->auth::local::password::send_setup_link

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):
auth::local::password::RetrievePassword auth::local::password::RetrievePassword (private) auth::local::password::send_reset_link auth::local::password::send_reset_link auth::local::password::RetrievePassword->auth::local::password::send_reset_link packages/acs-admin/www/users/password-reset.tcl packages/acs-admin/ www/users/password-reset.tcl packages/acs-admin/www/users/password-reset.tcl->auth::local::password::send_reset_link auth::local::password::send_setup_link auth::local::password::send_setup_link (private) auth::local::password::send_reset_link->auth::local::password::send_setup_link

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):
packages/acs-subsite/www/register/verify-password-setup.tcl packages/acs-subsite/ www/register/verify-password-setup.tcl auth::local::password::verify_registration auth::local::password::verify_registration packages/acs-subsite/www/register/verify-password-setup.tcl->auth::local::password::verify_registration auth::token::redeem auth::token::redeem (public) auth::local::password::verify_registration->auth::token::redeem

Testcases:
No testcase defined.
[ show source ]