-
Notifications
You must be signed in to change notification settings - Fork 268
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 SyncStorageService using broadcast-channel #1197
Closed
Closed
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
419224d
Added LeaderElectionService
denysoblohin-okta d795662
broadcastChannelName -> electionChannelName
denysoblohin-okta 20c5d10
New impl of SyncStorageService
denysoblohin-okta 0f461e8
fix message loop
denysoblohin-okta 5991101
allow syncStorage for localStorage and cookie
denysoblohin-okta bd6ac2d
.
denysoblohin-okta e890015
fixes
denysoblohin-okta ca08809
fix
denysoblohin-okta 095faf4
support IE11
denysoblohin-okta 714ed25
IE11 workaround
denysoblohin-okta a4adcfe
Use event set_storage for IE11
denysoblohin-okta 5850351
Added polyfills for IE11
denysoblohin-okta 3453ebb
lint fix
denysoblohin-okta 85138a4
fix Channel is closed
denysoblohin-okta e442b2c
added tests LES
denysoblohin-okta 34acc6f
added test for starting leaderElection service
denysoblohin-okta 246b2af
added tests for services
denysoblohin-okta 34e6ff4
added test
denysoblohin-okta f9294ee
added tests
denysoblohin-okta b156e62
added SM tests
denysoblohin-okta 353ba5e
fix: post set_storage event when storage is cleared on logout
denysoblohin-okta 3949afb
fix: SM should be started before TM
denysoblohin-okta 0cf1982
fix test 'can use memory token storage' (OKTA-464122)
denysoblohin-okta f8ecc6e
Support broadcastChannelName as old name for electionChannelName (OKT…
denysoblohin-okta afa1461
adress comments
denysoblohin-okta 19de428
Overload token manager on/off
denysoblohin-okta c336d3f
fix
denysoblohin-okta 4e4a02f
fix
denysoblohin-okta 97eb8d9
async fix after rebase
denysoblohin-okta 049f7ed
fix clearPendingRemoveTokens
denysoblohin-okta 32faade
test
denysoblohin-okta fce8c44
fix
denysoblohin-okta 35be52a
chlog
denysoblohin-okta 45fc202
await updateAuthState in start
denysoblohin-okta 8897c98
fix test memory storage
denysoblohin-okta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/test/support/xhr | ||
/test/app/public | ||
/test/apps/app/public | ||
node_modules | ||
/build/dist | ||
/build/lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a test for these default values in
test/spec/ServiceManager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also please add a test verifying
syncChannelName
can be set