Closed GoogleCodeExporter closed 9 years ago
I think that's in purpose. One minute before the token is going to expired we
already trying to refresh it.
I'm not sure why we did it exactly. The Java library has the same behavior.
I'll think if we should avoid that.
Any suggestions?
Thanks!
Original comment by pele...@google.com
on 10 Nov 2014 at 10:17
I think that's in purpose. One minute before the token is going to expired we
already trying to refresh it.
I'm not sure why we did it exactly. The Java library has the same behavior.
I'll think if we should avoid that.
Any suggestions?
Thanks!
Original comment by pele...@google.com
on 10 Nov 2014 at 10:17
I think it is fine to consider the token "expired" 1 minute before the actual
expiration time. The code in the IsExpired method does the opposite, though -
it does not return true until 1 minute after the actual expiration time.
Original comment by brett.e...@gmail.com
on 10 Nov 2014 at 10:50
ohhhhh crap... I'll check that. Thanks!
Original comment by pele...@google.com
on 11 Nov 2014 at 9:40
Change the test first -
https://code.google.com/p/google-api-dotnet-client/source/browse/Src/GoogleApis.
Auth.Tests/OAuth2/Responses/TokenResponseTests.cs
and fix the code.
Original comment by pele...@google.com
on 11 Nov 2014 at 9:44
https://codereview.appspot.com/184430043
Original comment by pele...@google.com
on 14 Dec 2014 at 3:22
Original comment by pele...@google.com
on 16 Dec 2014 at 11:26
Original issue reported on code.google.com by
brett.e...@gmail.com
on 10 Nov 2014 at 7:29