mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 02:19:08 +02:00
v1.1.1+2
- Updated example in readme Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
This commit is contained in:
@@ -358,10 +358,9 @@ Once your interface has been created and registered, you can use it to perform a
|
||||
|
||||
```dart
|
||||
// Register an account
|
||||
final nextStep = await Arcane.auth.signup(
|
||||
email: "user@example.com",
|
||||
password: "password123",
|
||||
);
|
||||
final nextStep = await Arcane.auth.register<Credentials>(
|
||||
input: ("email": "user@example.com", "password": "password123"),
|
||||
);
|
||||
|
||||
// Confirm a newly registered account
|
||||
final accountConfirmed = await Arcane.auth.confirmSignup(
|
||||
|
||||
Reference in New Issue
Block a user