mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
b63852ee5c1136f15823cf1bcd4d051393864e60
ctx.auth.issueUserToken(userId, { purpose, ttlSeconds }) gives background
work a session for calling Termix's own API as an existing user. It needs
users:impersonate, defaults to 300s and is capped at 900s, is stored as a
normal session row marked as plugin-issued, and every issue is audited.
Such sessions are refused on routes that change the user's password,
second factors, API keys or linked logins.
ctx.users.getLocale(userId) reads the user's UI language under users:read.
SDK 1.0.11, plugin API 1.3.0.
Description
Mirror of Termix (Apache-2.0) — parked for future Service Desk integration
103 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
94.5%
JavaScript
5%
CSS
0.2%
Shell
0.1%