private AuthenticationContext CreateContext(AdalConfiguration config) { return new AuthenticationContext(config.AdEndpoint + config.AdDomain, config.ValidateAuthority, tokenCache) { OwnerWindow = parentWindow }; }