Migrate OAuth2 token response client from RestOperations to RestClient
ProprietaryReplaces setRestOperations(RestOperations) with setRestClient(RestClient) on the RestClient-based OAuth2 AccessTokenResponseClient implementations introduced in Spring Security 6.4, when the argument is a RestTemplate. Marks other setRestOperations arguments with a warning, as well as setRequestEntityConverter calls, which have no counterpart on these clients.
io. moderne. java. spring. security7. MigrateOAuth2RestOperationsToRestClientmod run . --recipe= io. moderne. java. spring. security7. MigrateOAuth2RestOperationsToRestClientInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.