Update README.md
This commit is contained in:
parent
f1ce32d07e
commit
2479e8eaa7
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ Local auth:
|
|||
```dart
|
||||
var auth = await app.authenticate(type: 'local', credentials: {username: ..., password: ...});
|
||||
print(auth.token);
|
||||
print(auth.user);
|
||||
print(auth.data); // User object
|
||||
```
|
||||
|
||||
Revive an existing jwt:
|
||||
|
@ -87,4 +87,4 @@ await app.authenticate();
|
|||
Logout:
|
||||
```dart
|
||||
await app.logout();
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue