Last week I got a chance to work on a simple project that involved GitHub. In that process I wrote a simple OAuth client that retrieves and stores GitHub access token in user defaults or keychain. John Clem took the time to help me with the creation of a CocoaPod for anyone interested in using it. So what is it, and how do you use it?
MBGithubOAuthClient is a dead simple wrapper class for performing OAuth requests on Github. In addition to authentication, it offers 2 ways of saving access token – user defaults or iOS keychain.