Requirements
iOS
Android
React Native
Flutter
Passkeys are supported only on iOS 15 and above.
Passkey autofill requires iOS 16 and above.
Installation
iOS
Android
React Native
Flutter
Cocoapods
Add Authsignal to your Podfile.pod 'Authsignal', '~> 2.0.1'
Swift Package Manager
Add the following to the dependencies value of your Package.swift file.dependencies: [
.package(
url: "https://github.com/authsignal/authsignal-ios.git",
from: "2.0.1"
)
]
Initialization
Initialize the client with your tenant ID and the API URL for your region.
| Region | API URL |
|---|
| US (Oregon) | https://api.authsignal.com/v1 |
| AU (Sydney) | https://au.api.authsignal.com/v1 |
| EU (Dublin) | https://eu.api.authsignal.com/v1 |
You can find your tenant ID in the Authsignal Portal.
import Authsignal
let authsignal = Authsignal(
tenantID: "YOUR_TENANT_ID",
baseURL: "YOUR_REGION_BASE_URL"
)
Usage
Repositories