Hi,
I'm writing some custom classes inside the rules script to handle a custom authentication scheme. There are two things that I would like to do but I'm not exactly sure how to do them. I'm hoping these are easy questions.
First, I have some complex options that I would like to save off into the registry myself (not using the BindPref mechanism). I see that the Utilities namespace has Get methods for Int, Float, and Bool, but the only Set method is for String. What is the best way to set and get Strings, Ints, and Bools from the registry?
Second, is there a way to make my own complex top level menu? I'm familiar with adding custom sub-menus to the Rules top level menu, and I've also made simple top level menus, but what I would really like to do is have a menu like this:
[CustomAuth]
--[Enable Auto Authentication] (bool)
--[Redirect Requests]
----[Test Environment]
----[QA Environment]
----[Prod Environment]
----[disabled]
--[Some other option set]
----[Other option 1] (bool)
----[Other option 2] (bool)
Is any of that possible?