OAuth2 frameworks for macOS, iOS, and tvOS written in Swift 5.0. OAuth2 requires Xcode 10.2, the built framework can be used on OS X 10.11 or iOS 8 and later. Happy to accept pull requests, please see CONTRIBUTING.md. Since the Swift language is constantly evolving I have adopted a versioning scheme mirroring Swift versions: the framework version's first two digits are always the Swift version the library is compatible with, see releases. Code compatible with brand-new Swift versions should be found on a separate feature branch named appropriately. In OAuth2 there are different kinds of flows. This library supports all of them, make sure you're using the correct one for your use-case and authorization server. A typical code grant flow is used for demo purposes below. The steps for other flows are mostly the same short of instantiating a different subclass and using different client settings.

Features

  • Instantiate OAuth2 with a Settings Dictionary
  • Let the Data Loader or Alamofire Take Over
  • Make Sure You Intercept the Callback
  • Manually Authorize the User
  • Manually Performing Authorization
  • Advanced Settings

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow OAuth2

OAuth2 Web Site

Other Useful Business Software
Stay in Flow. Let Zenflow Handle the Heavy Lifting. Icon
Stay in Flow. Let Zenflow Handle the Heavy Lifting.

Your AI engineering control center. Zenflow turns specs into shipped features using parallel agents and multi-repo intelligence.

Zenflow is your engineering control center, turning specs into shipped features. Parallel agents handle coding, testing, and refactoring with real repo context. Multi-agent workflows remove bottlenecks and automate routine work so developers stay focused and in flow.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OAuth2!

Additional Project Details

Programming Language

Swift

Related Categories

Swift Frameworks

Registered

2023-06-30