Handling APIs that Require OAuth2
- Kind of lengthy, but very well explained and diagrammed
- Authentication versus Authorization
- iOS AppDelegate Lifecycle - coursetro via Youtube
- What is an app delegate in iOS? - Learn App Development via Youtube
- Twitter API Documentation
- Instagram API Documentation - Authentication
- Github API Documentation - OAuth
- Review remaining exercises for PUT/DELETE from tuesday
- Introduce the concept of an OAuth flow
- Briefly go over
AppDelegate
functions - Briefly go over app lifecycle
- Implement an OAuth flow from beginning to end using an "Implicit Flow"
- Time permitting, start making calls to the GithubAPI to star/unstar repos
- Creating
GithubOAuthManager
- Making a
GET
request to Github's authorization server - Write code to accept a valid response from Github
- Make a
POST
request to Github's access token server - Inspect response from Github
- Peek at what exactly is in the
URLResponse
- Parse
Data
intoString
- Change
Accept
header inPOST
request toapplication/json
- Parse
Data
usingJSONSerialization
- Creating
GithubRequestManager
- TBD
TBD based on day's progress