To install via Swift Package Manager, enter this url Xcode's Swift Package Manager's search bar:
https://github.com/passageidentity/passage-swift
To install via Cocoapods, add this dependency to your Podfile:
pod 'PassageSwift'
Below is an example of how easy it is to use Passage Swift to register a new user with a passkey and get their auth token:
import Passage
let passage = Passage(appId: "YOUR_PASSAGE_APP_ID")
try await passage.passkey.register(identifier: "[email protected]")
let authToken = passage.tokenStore.authToken
Visit our 📚 Passage Swift Docs to get started adding Passage to your Swift app.
Give customers the passwordless future they deserve. To learn more check out passage.1password.com
This project is licensed under the MIT license. See the LICENSE file for more info.