This repository was archived by the owner on Feb 2, 2026. It is now read-only.
Custom backend OAuth2 example based on AFNetworking #4
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.
This pull request is based on the previous one I've made, just because it was easier to add the
AFNetworkingand theAFOAuth2Clientdependencies to the example project.I only made the base of an example and it's clearly not complete. The goal is to show you how I see it, to check if I can "read in your mind"... figure of speech of course :)
I mean, check if the track I'm taking is good for you.
Before coding those few lines I was thinking about the great speech Mattt gave at NYC, and how he said it's hard but essential to keep an open source project simple and avoid taking decisions to maximize the flexibility.
Well, I have no pretention to write as beautiful lines as he does but this little digression simply helps me to explain why I implemented the OAuth2 login as an exemple and not a core method of
SDLoginViewController.Am I on the right path ?