microsoft-authentication-library-for-java icon indicating copy to clipboard operation
microsoft-authentication-library-for-java copied to clipboard

Refactor OAuthAuthorizationGrant into classes with specific grant behavior

Open Avery-Dunn opened this issue 7 months ago • 0 comments

Removal of dependencies in https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/926 has resulted in OAuthAuthorizationGrant taking on the responsibilities of every removed grant class.

This was done to reduce the complexity of the changes when removing nimbus, however it goes against OOP principles and long-term this will be hard to maintain.

That class should be split into classes that control grant-specific behavior, similar to the old imported classes.

Avery-Dunn avatar Apr 25 '25 21:04 Avery-Dunn