orcasgit / python-nokia

Library for the Nokia Health API
Other
57 stars 23 forks source link

Adding refresh_token method. #33

Open vangorra opened 5 years ago

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling faf9485b279aa63d4c5eb638c6b9a8fbe1ff1f2e on vangorra:vangorra_refresh_token into fd4951da6bb51d2e2893339032207b96070c4c79 on orcasgit:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling faf9485b279aa63d4c5eb638c6b9a8fbe1ff1f2e on vangorra:vangorra_refresh_token into fd4951da6bb51d2e2893339032207b96070c4c79 on orcasgit:master.

vangorra commented 5 years ago

Fixes #29, #30, #31

brad commented 5 years ago

@vangorra This method is not actually necessary. When an API call is made after the token has expired, the client automatically makes a call out to refresh the token and runs the token updater so your new tokens persist.