csexton / captured-mac

Captured
http://www.capturedapp.com
MIT License
5 stars 1 forks source link

Refresh Imgur Auth Tokens #29

Closed csexton closed 8 years ago

csexton commented 8 years ago

According to Imgur API docs:

access_token: is your secret key used to access the user's data. It can be thought of the user's password and username combined into one, and is used to access the user's account. It expires after 1 month.

refresh_token: is used to request new access_tokens. Since access_tokens expire after 1 month, we need a way to request new ones without going through the entire authorization step again. It does not expire.

https://api.imgur.com/oauth2#refresh_tokens

juliancheal commented 8 years ago

:+1:

csexton commented 8 years ago

I look forward to your PR, @juliancheal :grinning:

csexton commented 8 years ago

Fixed in #31