Update README.md

This commit is contained in:
Tobe O 2017-03-30 15:00:02 -04:00 committed by GitHub
parent f1ce32d07e
commit 2479e8eaa7

View file

@ -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();
```
```