Skip to content

Commit e0d8a23

Browse files
committed
Fix auth module state docs
1 parent 67d6ad1 commit e0d8a23

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,14 @@ assert(store.state.todos.isTrue === true, 'the custom action was run')
437437
The Auth module helps setup your app for login / logout. It includes the following state by default:
438438
```js
439439
{
440-
accessToken: undefined
440+
accessToken: undefined, // The JWT
441+
payload: undefined, // The JWT payload
442+
443+
isAuthenticatePending: false,
444+
isLogoutPending: false,
445+
446+
errorOnAuthenticate: undefined,
447+
errorOnLogout: undefined
441448
}
442449
```
443450

0 commit comments

Comments
 (0)