Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement account.hasInvalidSession() #56

Closed
7 tasks done
gr2m opened this issue Jan 10, 2016 · 0 comments · Fixed by #72
Closed
7 tasks done

Implement account.hasInvalidSession() #56

gr2m opened this issue Jan 10, 2016 · 0 comments · Fixed by #72
Assignees
Labels

Comments

@gr2m
Copy link
Member

gr2m commented Jan 10, 2016

If a session gets invalidated, "unauthenticate" events get triggered, for example when account.fetch() is called. Once unauthenticated, account.isUnauthenticated shall return true, otherwise false. The unauthenticate state shall also be persisted in localStorage.

account.signIn with the same username creates a new valid session and emits the reauthenticate event


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants