auth_management_biometric_delegate

This package provides biometric authentication (e.g., fingerprint, face recognition) integration for your Dart applications, enhancing security and user experience.

Features

  • Biometric Authentication: Allow users to authenticate using biometric methods supported by their device, such as fingerprint or face recognition.
  • Secure Integration: Utilizes device-specific biometric APIs to ensure secure authentication.
  • Easy Setup: Simple integration with minimal configuration required.
  • Cross-platform Support: Supports biometric authentication on both iOS and Android platforms.

Getting started

To start using auth_management_biometric_delegate, ensure you have Dart installed on your system. Then, follow these steps:

  1. Install the package by adding it to your pubspec.yaml file:

    dependencies:
      auth_management_biometric_delegate: ^1.0.0
    
  2. Import the package in your Dart file:

      import 'package:auth_management_biometric_delegate/auth_management_biometric_delegate.dart';
    
  3. Initialize the biometric authentication provider and configure it with your application settings.

Usage

Here's a simple example demonstrating how to authenticate a user with Google using this package:

import 'package:flutter/material.dart';
import 'package:auth_management_biometric_delegate/auth_management_biometric_delegate.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Biometric Auth Example'),
        ),
        body: Center(
          child: ElevatedButton(
            onPressed: () async {
              // Initialize Biometric authentication provider
              final delegate = BiometricAuthDelegate();

              // Sign in with Biometric
              final user = await delegate.signIn();

              // Use user data for further operations
              print('User ID: ${user.id}');
              print('User Name: ${user.name}');
              print('User Email: ${user.email}');
            },
            child: Text('Sign in with Biometric'),
          ),
        ),
      ),
    );
  }
}

Additional information

For more information on how to use the packages or to contribute, visit the GitHub repositories.

To report issues or suggest enhancements, please file an issue on the GitHub pages. We strive to provide timely responses and appreciate community feedback.

Feel free to adjust any part of this markdown file to fit your needs!

Let me know if you need further adjustments or have any other requests!