Authsignal iOS
Check out our official iOS documentation.
Installation
Cocoapods
Add Authsignal to your Podfile:
pod 'Authsignal', '~> 0.1.10'Swift Package Manager
Add authsignal-ios to the dependencies value of your Package.swift.
dependencies: [
.package(url: "https://github.com/authsignal/authsignal-ios.git", .upToNextMajor(from: "0.1.10"))
]Initialization
import Authsignal
...
let authsignal = Authsignal(clientID: "YOUR_TENANT_ID", baseURL: "YOUR_REGION_BASE_URL")You can find your client or tenant ID in the Authsignal Portal.
You must specify the correct base URL for your tenant's region.
| Region | Base URL |
|---|---|
| US (Oregon) | https://challenge.authsignal.com/v1 |
| AU (Sydney) | https://au-challenge.authsignal.com/v1 |
| EU (Dublin) | https://eu-challenge.authsignal.com/v1 |
Usage
Passkeys
For more detailed info on how add passkeys to your app using Authsignal, check out our official passkey documentation for iOS.
Push auth
To see how to add push authentication to your app using Authsignal, see our official push documentation for iOS.