FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

p2/OAuth2App: Simple Mac app to demonstrate usage of the OAuth2 Swift framework · GitHub

/ OAuth2App Public

Repository files navigation

OAuth 2 App

Terribly simple OS X Swift App to demonstrate use of the Swift OAuth2 Framework against the GitHub API. It lets you login to GitHub and then pulls your user information, displaying your avatar and full name (for some reason the avatar doesn't automatically center; resize the window for that to happen). The OAuth2 library is added as a Swift Package dependency.

Take a look at the GitHubLoader class, which is intended to be used as a singleton and handles the OAuth flow as well as requests to the GitHub API.

There also is a deprecated iOS Sample App which uses Cocoapods to integrate the OAuth2 framework. Cocoapods is no longer supported for OAuth2 since version 5.1.

Installation

Do a checkout, then open the project in Xcode 11 or newer and run it:

$ git clone https://github.com/p2/OAuth2App.git

License

I have waived all copyright and related or neighboring rights to OAuth2App.

About

Simple Mac app to demonstrate usage of the OAuth2 Swift framework

Resources

Stars

44 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL