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.
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
Persistence token cache for Mac & Linux with new MSAL ext #9188
Persistence token cache for Mac & Linux with new MSAL ext #9188
Changes from 20 commits
898a02f
132c01a
3c03443
49acab7
f50d8b7
4e4c467
fca0133
571b44c
e2c5dc3
dd341e7
7cba579
600fc6b
1c53b24
3539779
80bb671
b289411
a83c9ab
52e11f6
5a79873
bfcf3b3
3660848
8c5606a
435a4f2
4ad8ef8
5ac9807
0b48bbb
f8245f0
e8d572a
ed6b013
1472726
1cc8254
6b1e50d
3a16cad
db0eb37
775568f
006b191
eb9c615
abfbea9
233ce5c
a0b1725
77c8a59
7c7045c
ed8e722
09718dd
806539a
066d413
6cc8c1b
d5c4662
0bf3f76
b337b93
4e1d1a0
5b4e878
25d2a63
e3a405d
3dff1f3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I think that persistence of the token cache should be opt-in rather than opt out. Also I'm not sure we can put this on the base builder for all credentials, for instance what does it mean to create a
SharedTokenCachceCredential
with the shared token cache disabled.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.
For SharedTokenCacheCredential, yes you can disable shared token cache, but assuming no one will do this does save us a ton of duplicate code.
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.
ManagedIdentityCredential and DefaultAzureCredential inherit from CredentialBuilderBase, so they will not inherit this setter currently.