samsymons / RedditKit

An Objective-C wrapper for the reddit API
https://redditkit.com/
MIT License
296 stars 41 forks source link

Add OAuth refreshToken methods to RKClient #77

Closed rdougan closed 9 years ago

rdougan commented 9 years ago

...and automatically refresh the token when any request gets a 401 error.

Let me know your thoughts on this. I believe we might need to pause/cancel all other tasks in the queue, if any exist, when we receive a 401 error.

samsymons commented 9 years ago

Thanks for this!