auth::token::lock_account (private)

 auth::token::lock_account user_id

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

Serialize token operations on the same account. Call inside a transaction.

Parameters:
user_id (required)

Partial Call Graph (max 5 caller/called nodes):
auth::token::issue auth::token::issue (public) auth::token::lock_account auth::token::lock_account auth::token::issue->auth::token::lock_account auth::token::redeem auth::token::redeem (public) auth::token::redeem->auth::token::lock_account auth::token::revoke auth::token::revoke (public) auth::token::revoke->auth::token::lock_account db_0or1row db_0or1row (public) auth::token::lock_account->db_0or1row

Testcases:
No testcase defined.
Source code:
    return [db_0or1row lock_account {
        select 1 as account_exists from users where user_id = :user_id for update
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: