Implemented 'token-info' command that returns statistics, group memberships and privileges of the current access token.

This commit is contained in:
Jakob Friedl
2025-10-17 17:22:31 +02:00
parent 4a1a70da4d
commit 76930c9302
4 changed files with 153 additions and 52 deletions

View File

@@ -55,8 +55,7 @@ type
CMD_MAKE_TOKEN = 18'u16
CMD_STEAL_TOKEN = 19'u16
CMD_REV2SELF = 20'u16
CMD_TOKEN_GET_PRIV = 21'u16
CMD_TOKEN_SET_PRIV = 22'u16
CMD_TOKEN_INFO = 21'u16
StatusType* = enum
STATUS_COMPLETED = 0'u8