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/"); }
public GoogleOAuth2Service(IGoogleAuthService googleAuthService) { _googleAuthService = googleAuthService; _client = googleAuthService.CreateRestClient("https://www.googleapis.com/oauth2/v2/"); }