Exemple #1
0
 public async Task Setup()
 {
     _message         = new MessageProviderFake();
     _physicalFactory = new PhysicalFactoryFake();
     _auth            = new UnattendedAuthentication(_message, TestContext.Parameters["ClientId"], TestContext.Parameters["ClientSecret"], TestContext.Parameters["Username"], TestContext.Parameters["Password"]);
     await _auth.Authenticate();
 }
Exemple #2
0
 public ProjectService(IAuthentication auth, IMessageProvider message, IPhysicalFactory physical)
 {
     _auth     = auth;
     _message  = message;
     _physical = physical;
 }