public interface ClientRegistrationPropertiesService<P extends OAuthClientRegistrationWrapper>
OAuthClientRegistrationWrapper objects built from
OAuth2ClientProperties defined through application properties. All methods of this class
should gracefully return null if the OAuth2ClientProperties properties are not set.
This service is not intended to be used directly. Instead, a
BroadleafClientRegistrationRepository should generally be used for getting
OAuthClientRegistrationWrapper objects.| Modifier and Type | Method and Description |
|---|---|
P |
get(String registrationId)
Get an
OAuthClientRegistrationWrapper that is defined in application properties. |
Collection<P> |
getAll()
Get all
OAuthClientRegistrationWrapper objects that are defined in application
properties. |
P |
wrapClientRegistration(org.springframework.security.oauth2.client.registration.ClientRegistration clientRegistration)
Converts a
ClientRegistration to a OAuthClientRegistrationWrapper. |
P get(String registrationId)
OAuthClientRegistrationWrapper that is defined in application properties.registrationId - Collection<P> getAll()
OAuthClientRegistrationWrapper objects that are defined in application
properties.P wrapClientRegistration(org.springframework.security.oauth2.client.registration.ClientRegistration clientRegistration)
ClientRegistration to a OAuthClientRegistrationWrapper.clientRegistration - Copyright © 2021. All rights reserved.