Check out our official Flutter documentation.
Add the Authsignal Flutter SDK to your project:
dependencies:
authsignal_flutter: ^1.2.1
Then install the package:
flutter pub get
For iOS apps, install CocoaPods dependencies:
cd ios && pod install
Initialize the Authsignal client in your code:
import 'package:authsignal_flutter/authsignal_flutter.dart';
final authsignal = Authsignal(
tenantID: 'YOUR_TENANT_ID',
baseURL: 'YOUR_REGION_BASE_URL',
);
You can find your tenantID
in the Authsignal Portal.
You must specify the correct baseURL
for your tenant's region.
Region | Base URL |
---|---|
US (Oregon) | https://api.authsignal.com/v1 |
AU (Sydney) | https://au.api.authsignal.com/v1 |
EU (Dublin) | https://eu.api.authsignal.com/v1 |
This project is licensed under the MIT License - see the LICENSE file for details.