0 purchases
bricks auth
𧱠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='[email protected]',
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.');
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.