This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Matt,
i've re-written AFOAuth1Client written from the 'scratch'.
There are new 3 methods:
-(NSMutableURLRequest*)multipartFormOAuthRequestWithMethod;
-(void)enqueueOAuthOperationWithMethod;
-(void)getOAuthPath;
-(void)postOAuthPath;
So user can sends OAuth, 'standard' requests with one http client.
In add, also added an 'extras' property for AFOAuthToken where user can find any additional data returned by the server.
In my new code i simply sign the NSURLRequest objects adding the OAuth parameters in Header, Get or Post (only if content-type is application/x-www-form-urlencoded otherwise will be used header).
My code can sign any type of request, also multidata in post! ;)
Hope this help the community
crino