Swiftpack.co - raxityo/OAuthSwiftAuthenticationServices as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by raxityo.
raxityo/OAuthSwiftAuthenticationServices 1.0.1
Use ASWebAuthenticationSession in OAuthSwift in iOS 12.0+
⭐️ 4
🕓 1 year ago
.package(url: "https://github.com/raxityo/OAuthSwiftAuthenticationServices.git", from: "1.0.1")

OAuthSwiftAuthenticationServices

OAuthSwiftASWebAuthenticationURLHandler adds ability to use ASWebAuthenticationSession with OAuthSwift while targeting iOS 12.0+ and does not require defining an extra URI scheme in the application's Info.plist or handling the URI scheme in the app delegate.

Installation:

Add this repository to Xcode using SPM.

Sample usage:

oauthSwift.authorizeURLHandler = ASWebAuthenticationSessionURLHandler(
  callbackUrlScheme: "scheme",
  presentationAnchor: view.window
)

For more details of how to use authorizeURLHandler, see the docs in OAuthSwift

GitHub

link
Stars: 4
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.0.1
1 year ago
  • Update OAuthSwift and its dependencies
  • Assign the provided presentationAnchor

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics