AzureAD / microsoft-authentication-library-for-dotnet

Microsoft Authentication Library (MSAL) for .NET
https://aka.ms/msal-net
MIT License
1.41k stars 345 forks source link

[Feature Request] Enable parameter builders and executers to determine if application is public client or confidential client #3334

Open trwalke opened 2 years ago

trwalke commented 2 years ago

Is your feature request related to a problem? Please describe. Enable parameter builders and and executers to determine if application is cublic client or confidential client See https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/pull/3316/files#r876471513

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

jmprieur commented 2 years ago

I don't understand the why, @trwalke? don't we have the risk of trading polymorphism for if then else tests?

bgavrilMS commented 2 years ago

Agreed with @jmprieur, we will need to separate AcquireTokenSilent instead into PCA and CCA versions (possibly in MSAL5).