Ejemplo n.º 1
0
        public GoogleDriveService(IGoogleAuthService googleAuthService)
        {
            _googleAuthService = googleAuthService;

            _client = googleAuthService.CreateRestClient("https://www.googleapis.com/drive/v2/");
            _clientForUploads = googleAuthService.CreateRestClient("https://www.googleapis.com/upload/drive/v2/");
        }
Ejemplo n.º 2
0
        public GoogleOAuth2Service(IGoogleAuthService googleAuthService)
        {
            _googleAuthService = googleAuthService;

            _client = googleAuthService.CreateRestClient("https://www.googleapis.com/oauth2/v2/");
        }