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):
- Testcases:
- No testcase defined.