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:
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.1.1+2
|
||||||
|
|
||||||
|
- Updated example in README
|
||||||
|
|
||||||
## 1.1.1+1
|
## 1.1.1+1
|
||||||
|
|
||||||
- Updated example in README
|
- Updated example in README
|
||||||
|
|||||||
@@ -358,10 +358,9 @@ Once your interface has been created and registered, you can use it to perform a
|
|||||||
|
|
||||||
```dart
|
```dart
|
||||||
// Register an account
|
// Register an account
|
||||||
final nextStep = await Arcane.auth.signup(
|
final nextStep = await Arcane.auth.register<Credentials>(
|
||||||
email: "user@example.com",
|
input: ("email": "user@example.com", "password": "password123"),
|
||||||
password: "password123",
|
);
|
||||||
);
|
|
||||||
|
|
||||||
// Confirm a newly registered account
|
// Confirm a newly registered account
|
||||||
final accountConfirmed = await Arcane.auth.confirmSignup(
|
final accountConfirmed = await Arcane.auth.confirmSignup(
|
||||||
|
|||||||
Reference in New Issue
Block a user