auth::token::issue (public)

 auth::token::issue -purpose purpose -user_id user_id -ttl ttl \
    [ -context context ]

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

Issue a token, replacing the outstanding token for this account and purpose. Deliver the returned token only through the channel authorized by the caller. Use an application-defined purpose and keep context free of credentials.

Switches:
-purpose (required)
-user_id (required)
-ttl (required)
Lifetime in seconds.
-context (optional)
Optional state for the redemption callback (up to 4000 bytes).
Returns:
The raw token, which is stored only as a digest.
See Also:

Partial Call Graph (max 5 caller/called nodes):
auth::token::lock_account auth::token::lock_account (private) db_dml db_dml (public) db_transaction db_transaction (public) auth::token::issue auth::token::issue auth::token::issue->auth::token::lock_account auth::token::issue->db_dml auth::token::issue->db_transaction

Testcases:
No testcase defined.
[ show source ]
Show another procedure: