flutter_loui 0.0.1+1 copy "flutter_loui: ^0.0.1+1" to clipboard
flutter_loui: ^0.0.1+1 copied to clipboard

Package for Loui implementation on flutter.

flutter_loui #

Package for Loui implementation on flutter.

  • 🚀 Support iOS and Android!

Usage #

This component only needs 2 parameters: authConfig and activateDeviceConfig. You can check more information about this parameters below.

//...
AuthConfig authConfig = AuthConfig();
ActivateDeviceConfig activateDeviceConfig = ActivateDeviceConfig();
//...
@override
Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(

        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TotpLoui(
                activateDeviceConfig: activateDeviceConfig,
                authConfig: authConfig)
          ],
        ),
      ), 
    );
  }

Props #

TotpLoui #

Prop Name Type Default Description
authConfig authProps required Auth configuration for loui
activateDeviceConfig activateDeviceProps required Device auth configuration for loui

AuthProps #

Prop Name Type Default Description
client_id string required Name defined for the application
client_secret string required Generated secret token for the application
scope string required Name of the service account
username string required User name of registration on Loui
password string required Password of registration on Loui
grant_type string password Grant type, normally ‘password’

ActivateDeviceProps #

Prop Name Type Default Description
uid string - UID of user. Optional
username string required User name of the current user
countryCode string required Telephone country code of the user. For example, +57 for Colombia
phoneNumber string required User's phone number
email string required User email
reference1 string - First user reference
reference2 string - Second user reference
reference3 string - Third user reference

0
likes
120
points
1
downloads

Publisher

verified publishervortexbird.com

Weekly Downloads

Package for Loui implementation on flutter.

Homepage
Repository

Documentation

API reference

License

unknown (license)

Dependencies

circular_countdown_timer, flutter, http, otp, shared_preferences

More

Packages that depend on flutter_loui