AzureAD / microsoft-authentication-library-for-java

Microsoft Authentication Library (MSAL) for Java http://aka.ms/aadv2
MIT License
285 stars 142 forks source link

Deprecate ClaimsRequest API #855

Open Avery-Dunn opened 1 month ago

Avery-Dunn commented 1 month ago

Several years ago the ClaimsRequest and related APIs were added as a helper for claims in token requests.

However, this is inconsistent with other (non-Android) MSALs and is strongly typed to match a format we have no control over. Because of this, the ClaimsRequest style should be deprecated in favor of the String-based approached in other MSALs.