auth::get_user_secret_token (public)

 auth::get_user_secret_token -user_id user_id

Defined in packages/acs-authentication/tcl/authentication-procs.tcl

Get a secret token for the user. Can be used for email verification purposes.

Switches:
-user_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_subsite_test_email_confirmation acs_subsite_test_email_confirmation (test acs-subsite) auth::get_user_secret_token auth::get_user_secret_token test_acs_subsite_test_email_confirmation->auth::get_user_secret_token sec_get_token sec_get_token (public) auth::get_user_secret_token->sec_get_token acs::test::confirm_email acs::test::confirm_email (public) acs::test::confirm_email->auth::get_user_secret_token auth::send_email_verification_email auth::send_email_verification_email (private) auth::send_email_verification_email->auth::get_user_secret_token packages/acs-subsite/lib/email-confirm.tcl packages/acs-subsite/ lib/email-confirm.tcl packages/acs-subsite/lib/email-confirm.tcl->auth::get_user_secret_token

Testcases:
acs_subsite_test_email_confirmation
Source code:
    return [ns_sha1 "${user_id}[sec_get_token 1]"]
Generic XQL file:
packages/acs-authentication/tcl/authentication-procs.xql

PostgreSQL XQL file:
packages/acs-authentication/tcl/authentication-procs-postgresql.xql

Oracle XQL file:
packages/acs-authentication/tcl/authentication-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: