-
Notifications
You must be signed in to change notification settings - Fork 151
In-memory Identity token cache #4024
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
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
bcf6d69
Run-time token cache
antkmsft c37f52e
Doxygen tag fix
antkmsft 7c35923
Fix linux and mac warnings (initialization order)
antkmsft 2b322e5
MSVC warning
antkmsft 5e2f626
Expose token cache internals for testing
antkmsft 614c673
OnBeforeWriteLock
antkmsft a5fe314
mac fix
antkmsft 89b441b
First unit test
antkmsft 0bf6833
mac constexpr fix
antkmsft a362e90
More tests
antkmsft bf7d87e
Undo perf test change
antkmsft f752ecc
Update changelog
antkmsft 7237403
Update sdk/identity/azure-identity/src/private/token_cache_internals.hpp
antkmsft a2cc325
clang format
antkmsft b51365b
Refreshing one token does not lock the entire container
antkmsft 5a08e7f
Nit PR feedback
antkmsft 4f1db6e
valule
antkmsft 666124c
mac fix: remove unused variable
antkmsft 733fd4a
Add cache cleanup every ==2^n insertions, where n>=5
antkmsft 03dd3ca
Improve tests for element locks during cleanup
antkmsft 150cb1c
Spelling
antkmsft 489c8b6
Avoid clang-format inconsistencies between versions
antkmsft eff8672
&
antkmsft 0a188a5
struct final
antkmsft 7439fb1
PR feedback
antkmsft 2ba9679
Expand changelog
antkmsft 9359a14
2 minutes is enough
antkmsft 9b78eeb
Mac build fix
antkmsft 197f688
Another attempt at mac fix
antkmsft 086fcf1
Brackets just in case
antkmsft d1b6c75
Mac fix?
antkmsft 34fb2e9
Max fix??
antkmsft 504e929
Disable code analysis warning
antkmsft cfc79f2
Undo
antkmsft c275101
Disable code analysis warning via command line
antkmsft 13ba0a5
Undo
antkmsft 6391798
Merge remote-tracking branch 'upstream/main' into token-cache
antkmsft 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -4,6 +4,8 @@ | |
|
|
||
| ### Features Added | ||
|
|
||
| - Added token caching. | ||
|
|
||
| ### Breaking Changes | ||
|
|
||
| ### Bugs Fixed | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.