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

Dynamic auth #269

Merged
merged 20 commits into from
May 9, 2016
Merged

Dynamic auth #269

merged 20 commits into from
May 9, 2016

Conversation

paddybyers
Copy link
Member

This PR combines some existing PRs with some other misc fixes to support the dynamic-auth realtime changes.

#267
#266
#261

SimonWoolf and others added 19 commits May 9, 2016 12:06
regex failed for connectionKeys with exclamation marks, negative
connection serials, etc. Client lib shouldn't assume anything about the
format of the connection key except that it doesn't contain a colon, so
a simple split(':') is safest
You can't use the same recoveryKey more than once, so unpersist after a
successful recovery.

Also stop persisting on connect: should only be useful in browsers that
don't support beforeunload, but that's a subset of browsers that don't
support sessionstorage, so not much point
as ably-js tests emit beforeunload events to test on-page-refresh
functionality
@SimonWoolf
Copy link
Member

SimonWoolf commented May 9, 2016

Made the lastConnectionDetails location change. Also pruned the git tree a bit (were a couple fixups in the recover branch that weren't squashed down)

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

Successfully merging this pull request may close these issues.

2 participants