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

Refactor SharedTokenCacheCredential #19914

Merged
merged 2 commits into from
Jul 28, 2021
Merged

Conversation

chlowell
Copy link
Member

SharedTokenCacheCredential takes one of two distinct code paths depending on whether it's initialized with an AuthenticationRecord. It's basically two credential types mashed together (my bad). That makes it difficult to understand and maintain, so here I am unmashing that which has been mashed. I think this will be a boon for future generations, and today it makes fixing #19746 easier 😊

@chlowell chlowell requested review from mccoyp and schaabs as code owners July 22, 2021 16:14
@ghost ghost added the Azure.Identity label Jul 22, 2021
Copy link
Member

@mccoyp mccoyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice change, thank you for noticing the opportunity to split these up!

@chlowell chlowell merged commit ef54724 into Azure:main Jul 28, 2021
@chlowell chlowell deleted the stcc-refactor branch July 28, 2021 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants