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

Introduce new API to clear global Public Client Application instances holding User Token Cache #800

Merged
merged 2 commits into from Nov 18, 2020

Conversation

cheenamalhotra
Copy link
Member

New API added as under to clear globally held Public Client Application instances in order to reduce prompts for Access token acquisitions from MSAL.NET.

public sealed class ActiveDirectoryAuthenticationProvider : SqlAuthenticationProvider
{
    public static void ClearUserTokenCache();
}

@cheenamalhotra cheenamalhotra added this to In progress in SqlClient v2.1 via automation Nov 17, 2020
@cheenamalhotra cheenamalhotra added the 🆕 Public API Use this label for new API additions to the driver. label Nov 17, 2020
@cheenamalhotra cheenamalhotra added this to the 2.1.0 milestone Nov 17, 2020
…ationProvider.xml

Co-authored-by: David Engel <dengel@magnitude.com>
SqlClient v2.1 automation moved this from In progress to Reviewer approved Nov 17, 2020
@cheenamalhotra cheenamalhotra merged commit f19cc8f into dotnet:master Nov 18, 2020
SqlClient v2.1 automation moved this from Reviewer approved to Done Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 Public API Use this label for new API additions to the driver.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants