File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public interface IPublicClientApplication extends IClientApplicationBase {
1616 /**
1717 * Acquires tokens from the authority configured in the application via Username/Password authentication.<br>
1818 * <p><b>Deprecated:</b> This API has been deprecated and will be removed in a future release. Use a more secure flow instead.<br>
19- * See <a href="https://aka.ms/msalnet -ropc-migration">https://aka.ms/msalnet -ropc-migration</a> for migration guidance.
19+ * See <a href="https://aka.ms/msal -ropc-migration">https://aka.ms/msal -ropc-migration</a> for migration guidance.
2020 *
2121 * @param parameters instance of {@link UserNamePasswordParameters}
2222 * @return {@link CompletableFuture} containing an {@link IAuthenticationResult}
Original file line number Diff line number Diff line change 1313 * Object containing parameters for Username/Password flow. Can be used as parameter to
1414 * {@link PublicClientApplication#acquireToken(UserNamePasswordParameters)}
1515 * <p>
16+ * <p><b>Deprecated:</b> This class supports the Resource Owner Password Credentials (ROPC) flow,
17+ * which is insecure and will be removed in a future release.</p>
18+ *
19+ * <p>See <a href="https://aka.ms/msal-ropc-migration">https://aka.ms/msal-ropc-migration</a> for migration guidance.</p>
1620 * For more details, see https://aka.ms/msal4j-username-password
1721 */
22+ @ Deprecated
1823public class UserNamePasswordParameters implements IAcquireTokenParameters {
1924
2025 private Set <String > scopes ;
You can’t perform that action at this time.
0 commit comments