Changeset 420 for binary-improvements/MapRendering/Commands/WebTokens.cs
- Timestamp:
- Mar 28, 2023, 5:11:02 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Commands/WebTokens.cs
r326 r420 7 7 private static readonly Regex validNameTokenMatcher = new Regex (@"^\w+$"); 8 8 9 p ublic override string[] GetCommands () {10 return new[] {"webtokens "};9 protected override string[] getCommands () { 10 return new[] {"webtokens_legacy"}; 11 11 } 12 12 13 p ublic override string GetDescription () {13 protected override string getDescription () { 14 14 return "Manage web tokens"; 15 15 } 16 16 17 p ublic override string GetHelp () {17 protected override string getHelp () { 18 18 return "Set/get webtoken permission levels. A level of 0 is maximum permission.\n" + 19 19 "Usage:\n" + 20 " webtokens add <username> <usertoken> <level>\n" +21 " webtokens remove <username>\n" +22 " webtokens list";20 " webtokens_legacy add <username> <usertoken> <level>\n" + 21 " webtokens_legacy remove <username>\n" + 22 " webtokens_legacy list"; 23 23 } 24 24
Note:
See TracChangeset
for help on using the changeset viewer.