示例#1
0
 public void Setup()
 {
     _graphUserAccount = new GraphUserAccount
     {
         Email       = "*****@*****.**",
         Environment = "login.microsoftonline.com",
         ObjectId    = Guid.NewGuid().ToString(),
         TenantId    = Guid.NewGuid().ToString()
     };
     _silentAuthResult          = MockAuthResult.GetAuthenticationResult(new GraphAccount(_graphUserAccount), _scopes);
     _mockClientApplicationBase = new MockPublicClientApplication(_scopes, _organizationsAuthority, false, _clientId, _silentAuthResult);
 }