Skip to content

Breaking out a custom StorageProvider option + misc Cleanup #331

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

Closed
wants to merge 5 commits into from
Closed

Breaking out a custom StorageProvider option + misc Cleanup #331

wants to merge 5 commits into from

Conversation

deregtd
Copy link

@deregtd deregtd commented Jun 19, 2018

Simplified the Storage class to do all of the appropriate checking up front and store the cache object if it succeeds. Fixed some bugs in the existing checking. Added support for caching static instances based on cache location, since the previous implementation would have incorrect behavior if run twice with different cache locations (probably doesn't matter under normal usage, but correctness...) Broke out an exported interface UserAgentApplication options type for easier client coding. Broke out a StorageProvider interface from the Storage class implementation, and added support in the UAA options class for providing a custom storage provider implementation for more complicated clients to use.

David de Regt added 3 commits June 19, 2018 15:46
… front and store the cache object if it succeeds. Fixed some bugs in the existing checking. Added support for caching static instances based on cache location, since the previous implementation would have incorrect behavior if run twice with different cache locations (probably doesn't matter under normal usage, but correctness...) Broke out an exported interface UserAgentApplication options types for easier client coding. Broke out a StorageProvider interface from the Storage class implementation, and added support in the UAA options class for providing a custom storage provider implementation for more complicated clients to use.
…e a while, so need to use this as a fork of the codebase for potentially a few months.
@deregtd
Copy link
Author

deregtd commented Jun 27, 2018

Note: I pulled dist files into here so I can use this branch as a public release fork of msal. Basically just look at commit #1 for the content of the actual changes.

@deregtd
Copy link
Author

deregtd commented Jun 29, 2018

Will reopen with a simpler implementation to try to get into master sooner

@deregtd deregtd closed this Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant