sec_change_user_auth_token (public)
sec_change_user_auth_token user_id
Defined in packages/acs-tcl/tcl/security-procs.tcl
Change the user's auth_token, which invalidates all existing login cookies, i.e. forces user logout at the server.
- Parameters:
- user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- logout_from_everywhere
Source code: set auth_token [ad_generate_random_string] ns_log Debug "Security: Changing user $user_id's auth_token to '$auth_token'" db_dml update_auth_token { update users set auth_token = :auth_token where user_id = :user_id } return $auth_tokenGeneric XQL file: packages/acs-tcl/tcl/security-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/security-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/security-procs-oracle.xql