sec_get_user_auth_token (public)
sec_get_user_auth_token user_id
Defined in packages/acs-tcl/tcl/security-procs.tcl
Get the user's auth token for verifying login cookies.
- Parameters:
- user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set auth_token [db_string select_auth_token { select auth_token from users where user_id = :user_id } -default {}] if { $auth_token eq "" } { ns_log Debug "Security: User $user_id does not have any auth_token, creating a new one." set auth_token [sec_change_user_auth_token $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