Skip to content

Commit 2ac9057

Browse files
committed
add comment
1 parent 4798680 commit 2ac9057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msal/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,12 +1844,12 @@ def acquire_token_by_username_password(
18441844
[Deprecated] This API is deprecated for public client flows and will be removed in a future release.
18451845
Use a more secure flow instead.
18461846
Migration guide: https://aka.ms/msal-ropc-migration
1847-
1847+
18481848
"""
18491849
is_confidential_app = self.client_credential or isinstance(
18501850
self, ConfidentialClientApplication)
18511851
if not is_confidential_app:
1852-
warnings.warn("""This API has been deprecated, please use a more secure flow.
1852+
warnings.warn("""This API has been deprecated for public client flows, please use a more secure flow.
18531853
See https://aka.ms/msal-ropc-migration for migration guidance""", DeprecationWarning)
18541854
claims = _merge_claims_challenge_and_capabilities(
18551855
self._client_capabilities, claims_challenge)

0 commit comments

Comments
 (0)