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)

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: