Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh autorization token while a large file is uploading #264

Closed
GoogleCodeExporter opened this issue Apr 14, 2015 · 5 comments
Closed
Assignees

Comments

@GoogleCodeExporter
Copy link

Is there any way to refresh authorization token while a file is uploading with 
a specified ChunkSize?
It seems I must add this code to 
FilesResource.InsertMediaUpload.ProgressChanged event handler and update 
Authenticator property of an instance of FilesResource.InsertMediaUpload.

Currently is looks like there is no ability to upload a file if this action 
takes more than token expiration time (1 hour).

---

Current release: 20121011-1.2.4667-beta

Original issue reported on code.google.com by passm...@gmail.com on 15 Oct 2012 at 6:27

@GoogleCodeExporter
Copy link
Author

Release google-api-dotnet-client-1.2.4737-beta still causes exception 
System.Exception: Invalid Credentials ---> System.Net.WebException: The remote 
server returned an error: (401) Unauthorized. after one hour.

Original comment by ksbum...@gmail.com on 18 Feb 2013 at 5:03

@GoogleCodeExporter
Copy link
Author

Original comment by pele...@google.com on 6 May 2013 at 6:03

  • Changed state: Accepted
  • Added labels: Component-Auth, Milestone-Release1.5, Type-Enhancement

@GoogleCodeExporter
Copy link
Author

Original comment by pele...@google.com on 14 Aug 2013 at 3:27

  • Added labels: Milestone-Release1.6
  • Removed labels: Milestone-Release1.5

@GoogleCodeExporter
Copy link
Author

The Auth library contains UserCredentials which implements an interceptor which 
will refresh the token automatically, It also implements unsuccessful response 
handler
https://codereview.appspot.com/13972043/

Original comment by pele...@google.com on 3 Oct 2013 at 6:27

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by pele...@google.com on 3 Oct 2013 at 7:28

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 6, 2020
@jskeet jskeet removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants