-
Notifications
You must be signed in to change notification settings - Fork 219
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
Ensure Singleton registration for TokenAcquisition Services when TokenAcquirerFactory is null #3155
Conversation
SummarySummary
CoverageMicrosoft.Identity.Web - 66.8%
Microsoft.Identity.Web.Certificate - 42.3%
Microsoft.Identity.Web.Certificateless - 40.1%
Microsoft.Identity.Web.Diagnostics - 10.2%
Microsoft.Identity.Web.DownstreamApi - 12%
Microsoft.Identity.Web.MicrosoftGraph - 42%
Microsoft.Identity.Web.Test.Common - 70.9%
Microsoft.Identity.Web.TokenAcquisition - 53.1%
Microsoft.Identity.Web.TokenCache - 80.8%
|
SummarySummary
CoverageMicrosoft.Identity.Web - 66.8%
Microsoft.Identity.Web.Certificate - 42.3%
Microsoft.Identity.Web.Certificateless - 40.1%
Microsoft.Identity.Web.Diagnostics - 10.2%
Microsoft.Identity.Web.DownstreamApi - 12%
Microsoft.Identity.Web.MicrosoftGraph - 42%
Microsoft.Identity.Web.Test.Common - 70.9%
Microsoft.Identity.Web.TokenAcquisition - 53.1%
Microsoft.Identity.Web.TokenCache - 80.8%
|
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.
Looks good, just curious on how the E2E testing went
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.
LGTM
Thanks @sruke
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.
discussed offline
SummarySummary
CoverageMicrosoft.Identity.Web - 66.8%
Microsoft.Identity.Web.Certificate - 42.3%
Microsoft.Identity.Web.Certificateless - 40.1%
Microsoft.Identity.Web.Diagnostics - 10.2%
Microsoft.Identity.Web.DownstreamApi - 12%
Microsoft.Identity.Web.MicrosoftGraph - 42%
Microsoft.Identity.Web.Test.Common - 70.9%
Microsoft.Identity.Web.TokenAcquisition - 53.1%
Microsoft.Identity.Web.TokenCache - 80.8%
|
Why?
This PR ensures TokenAcquisition services are registered only as singletons if the
isTokenAcquisitionSingleton
flag is true and removes any previously added scoped TokenAcquisition services when TokenAcquirerFactory is not used.{PR title}
Summary of the changes (Less than 80 chars)
Description
{Detail}
#3157