Giter Site home page Giter Site logo

ac3.2-oauth2's Introduction

AC3.2-OAuth2

Handling APIs that Require OAuth2

Reading:

  1. An Introduction to OAuth2 - Digital Ocean
  • Kind of lengthy, but very well explained and diagrammed
  1. Authentication versus Authorization
  2. iOS AppDelegate Lifecycle - coursetro via Youtube
  3. What is an app delegate in iOS? - Learn App Development via Youtube

Reference:

  1. Twitter API Documentation
  2. Instagram API Documentation - Authentication
  3. Github API Documentation - OAuth

Optional:

  1. User Authentication With OAuth 2.0 - OAuth.net
  2. App Lifecycle - Apple

Lesson Objectives

  • 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

Lesson Roadmap

  1. Creating GithubOAuthManager
  2. Making a GET request to Github's authorization server
  3. Write code to accept a valid response from Github
  4. Make a POST request to Github's access token server
  5. Inspect response from Github
  • Peek at what exactly is in the URLResponse
  • Parse Data into String
  1. Change Accept header in POST request to application/json
  • Parse Data using JSONSerialization
  1. Creating GithubRequestManager
  2. TBD

Exercises

TBD based on day's progress

ac3.2-oauth2's People

Contributors

spacedrabbit avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.