Interface BroadleafClientRegistrationRepository
- All Superinterfaces:
org.springframework.security.oauth2.client.registration.ClientRegistrationRepository
- All Known Implementing Classes:
DefaultBroadleafClientRegistrationRepository
public interface BroadleafClientRegistrationRepository
extends org.springframework.security.oauth2.client.registration.ClientRegistrationRepository
This enhances the
ClientRegistrationRepository
interface to enable users to get all
ClientRegistrations at once.- Author:
- Cade Rea (cade-rea)
-
Method Summary
Modifier and TypeMethodDescriptionReturn a Map of all available 3rd party OAuth providers.Methods inherited from interface org.springframework.security.oauth2.client.registration.ClientRegistrationRepository
findByRegistrationId
-
Method Details
-
findAllClientRegistrations
Map<String,OAuthClientRegistrationWrapper> findAllClientRegistrations()Return a Map of all available 3rd party OAuth providers. The map key is the registration id from theOAuthClientRegistrationWrapper
.- Returns:
- A Map of
OAuthClientRegistrationWrapper.registrationId
toOAuthClientRegistrationWrapper
-