Skip to content

authsignal/authsignal-flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authsignal

Authsignal Flutter SDK

Check out our official Flutter documentation.

Installation

Add the Authsignal Flutter SDK to your project:

dependencies:
  authsignal_flutter: ^2.3.0

Then install the package:

flutter pub get

For iOS apps, install CocoaPods dependencies:

cd ios && pod install

Initialization

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

License

This project is licensed under the MIT License - see the LICENSE file for details.