'How to get Page<RegisteredClient> in Spring Authorization Server?

I want to add or update RegisteredClient use my custom controller,so first need to show the RegisteredClient's list.

so I want to get Page use RegisteredClientRepository.findAll(Pageable pageable),but RegisteredClientRepositor have no findAll method ,just have findById,findByClientId

How can I get The RegisteredClient's list?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source