bricks_auth 0.0.1 copy "bricks_auth: ^0.0.1" to clipboard
bricks_auth: ^0.0.1 copied to clipboard

Authentication library for HNG game App

🧱 Bricks #

Bricks is a Dart package designed to help game creators easily create accounts for their players. With Bricks, players can sign in to monitor leaderboards and other game-related features. It's still in its early stages and under development, but it's packed with potential! πŸš€

✨ Features #

  • πŸ“ Account Creation: Simplify the process of creating player accounts.
  • πŸ” Player Sign-In: Securely sign in players.
  • πŸ“Š Leaderboard Monitoring: Keep track of player rankings and stats.

πŸ“¦ Usage #

Here’s a quick example of how to use Bricks:

import 'package:bricks/bricks.dart';

void main() {
  const name = 'player1';
  const email='abc@gmail.com',
  const password = 'securePassword';

  // Create an account
  AccountManager.createAccount(name, email, password);

  // Sign in
  final success= AccountManager.signIn(email, password);

  if (success != null) {
    print('Signed in successfully!');
  } else {
    print('Sign in failed.');
  }
}


0
likes
30
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Authentication library for HNG game App

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on bricks_auth