I know for method
-[[RKObjectManager sharedManager].HTTPClient setAuthorizationHeaderWithToken:]
and I suppose that this method accepts accessToken. How to handle OAuth2 refreshToken?
I know for method
-[[RKObjectManager sharedManager].HTTPClient setAuthorizationHeaderWithToken:]
and I suppose that this method accepts accessToken. How to handle OAuth2 refreshToken?
Ok, I resolve my problem. First of all, you have to download AFOAuth2Client from http://goo.gl/zdTdlJ
This is AFHTTPClient extension witch handles OAuth2 authentication and here's snippet how to initialize it and set it into RestKit as HTTPClient.