Convert RegTokenInfo to a j2s Schema. #1

Closed
jordan wants to merge 14 commits from Telodendria:pull-37 into implement-26

14 commits

Author SHA1 Message Date
e97faa9761 Add link to registration token endpoints to admin documentation. 2023-11-08 13:44:17 -05:00
38a59d890f Add documentation for RouteAdminTokens. 2023-11-08 13:42:41 -05:00
f87cce0f4c Clean up behavior of RouteAdminTokens().
This makes it accept keys with the same names as what is returned back to the caller,
allowing for a more consistent experience.
2023-11-08 12:36:01 -05:00
a6a9aeb4da Merge branch 'master' into pull-37 2023-11-08 10:04:49 -05:00
80db737a28 Make RegToken.grants a JSON array.
It isn't every touched by anything other than UserDecodePrivileges() and UserEncodePrivileges().
2023-11-08 09:55:47 -05:00
a5c5dee375 Revert "[Broken] Revert changes to UserEncodePrivileges() and UserDecodePrivileges()"
This reverts commit 9b3b62ff30.
2023-11-08 09:50:14 -05:00
edee1288d8 Remove unused global variables. 2023-11-08 09:45:49 -05:00
9b3b62ff30 [Broken] Revert changes to UserEncodePrivileges() and UserDecodePrivileges() 2023-11-08 09:29:23 -05:00
d60aac6d3a Fix leak in RegTokenClose(). 2023-11-08 08:43:23 -05:00
647778ef82 Fix runtime errors as a result of not encoding privileges as a JSON value. 2023-11-08 08:34:24 -05:00
4b90800a2b Fix leak in RouteConfig, update documentation.
Closes #15.
2023-11-07 01:26:26 -05:00
a1bcbcf454 Add RegToken schema 2023-11-07 00:27:59 -05:00
6e7f170768 Start working on #15. 2023-11-06 20:42:39 -05:00
5d1cdc0026 Convert RegTokenInfo to a j2s Schema. 2023-11-06 15:23:50 -05:00