secqure_flutter_sdk

Last updated:

0 purchases

secqure_flutter_sdk Image
secqure_flutter_sdk Images
Add to Cart

Description:

secqure flutter sdk

SecQure Passwordless Library For Validate Auth Token - Email Magiclink, SMS OTP
Features #
Passwordless Login and Custom Branding
Make users login smooth and secure with emailed magic links.
Getting started #
TODO: List prerequisites and provide or point to information on how to
start using the package.
Usage #
TODO: Include short and useful examples for package users. Add longer examples
to /example folder.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

import 'package:secqure_flutter_sdk/secqure_flutter_sdk.dart';

void main() {
runApp(const MaterialApp(
title: 'Navigation Basics',
home: FirstRoute(),
));
}

class FirstRoute extends StatelessWidget {
const FirstRoute({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('First Route'),
backgroundColor: Colors.pink,
),
body: Center(
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: Colors.pink, // background
onPrimary: Colors.white, // foreground
),
child: const Text('Sign in'),
onPressed: () {
Navigator.push(
context,
//Replace placeholders with your API key and Secret key from dashboard
MaterialPageRoute(builder: (context) => const SecqureAuth(keyId: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX', secretId: 'XXXXXXXXXX')),
);
},
),
),
);
}
}

copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.