コード例 #1
0
 public void Setup()
 {
     //arrange
     factory    = new AuthZFactory();
     adminAuthZ = new bool[2] {
         true, true
     };
     displayName = "ExampleName";
     attributes  = factory.CreateUserAuthZ(displayName, adminAuthZ);
 }
コード例 #2
0
 public void Setup()
 {
     //arrange
     factory    = new AuthZFactory();
     adminAuthZ = new bool[2] {
         false, true
     };
     householdID = 1234;
     displayName = "ExampleName";
     attributes  = factory.CreateHostAuthZ(displayName, householdID, adminAuthZ);
 }
コード例 #3
0
 public void Setup()
 {
     //arrange
     factory    = new AuthZFactory();
     attributes = factory.CreateAnonAuthZ();
 }
コード例 #4
0
 public void Setup()
 {
     invoker = new AuthZInvoker();
     factory = new AuthZFactory();
 }