diff --git a/src/client/Microsoft.Identity.Client/IConfidentialClientApplication.cs b/src/client/Microsoft.Identity.Client/IConfidentialClientApplication.cs index 90f6e7791d..7ad35fd683 100644 --- a/src/client/Microsoft.Identity.Client/IConfidentialClientApplication.cs +++ b/src/client/Microsoft.Identity.Client/IConfidentialClientApplication.cs @@ -94,10 +94,9 @@ AcquireTokenByAuthorizationCodeParameterBuilder AcquireTokenByAuthorizationCode( new AcquireTokenSilentParameterBuilder AcquireTokenSilent(IEnumerable scopes, string loginHint); /// + /// This method is strictly to be used with ROPC flow in test environments. It is not recommended to use ROPC in production applications. /// Use in web apps and web APIs, and use a token cache serializer for better security and performance. See https://aka.ms/msal-net-cca-token-cache-serialization. /// - [Obsolete("Use GetAccountAsync(identifier) in web apps and web APIs, and use a token cache serializer for better security and performance. See https://aka.ms/msal-net-cca-token-cache-serialization.")] - [EditorBrowsable(EditorBrowsableState.Never)] new Task> GetAccountsAsync(); } }