public void Setup() { _clientCredential = new ClientCredential("app_secret"); _graphUserAccount = new GraphUserAccount { Email = "*****@*****.**", Environment = "login.microsoftonline.com", ObjectId = Guid.NewGuid().ToString(), TenantId = Guid.NewGuid().ToString() }; _mockAuthResult = MockAuthResult.GetAuthenticationResult(new GraphAccount(_graphUserAccount), _scopes); _mockClientApplicationBase = new MockConfidentialClientApplication(_scopes, "common", false, _clientId, _mockAuthResult); }
public void Setup() { _clientCredential = new ClientCredential("appSecret"); _mockAuthResult = MockAuthResult.GetAuthenticationResult(null); _mockClientApplicationBase = new MockConfidentialClientApplication(null, _commonAuthority, false, _clientId, _mockAuthResult); }