Fitbit.NET icon indicating copy to clipboard operation
Fitbit.NET copied to clipboard

RefreshToken should only try to parse the token in a succesful response

Open mxa0079 opened this issue 8 years ago • 0 comments

[DefaultTokenManager.RefreshToken()](https://github.com/aarondcoleman/Fitbit.NET/blob/async-portable/Fitbit.Portable/OAuth2/DefaultTokenManager.cs#L11) should only try to parse during a successful reply.

We are currently parsing in all cases, which is in exceptions when parsing.

mxa0079 avatar Feb 27 '16 10:02 mxa0079