Skip to content

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

Merged
cheenamalhotra merged 2 commits into
dotnet:masterfrom
cheenamalhotra:clear-pca
Nov 18, 2020
Merged

Introduce new API to clear global Public Client Application instances holding User Token Cache#800
cheenamalhotra merged 2 commits into
dotnet:masterfrom
cheenamalhotra:clear-pca

Conversation

@cheenamalhotra

Copy link
Copy Markdown
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 the Public API 🆕 Issues/PRs that introduce new APIs to the driver. label Nov 17, 2020
@cheenamalhotra cheenamalhotra added this to the 2.1.0 milestone Nov 17, 2020
Comment thread doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml Outdated
…ationProvider.xml

Co-authored-by: David Engel <dengel@magnitude.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Public API 🆕 Issues/PRs that introduce new APIs to the driver.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants