Interface OAuth2ServiceProviderRegistry
-
- All Known Implementing Classes:
OAuth2ServiceProviderRegistryImpl
public interface OAuth2ServiceProviderRegistry
This service is used to manage OAuth2 Service Providers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuth2ServiceProvider
addProvider(String serviceName, String description, String tokenServerURL, String authorizationServerURL, String userAuthorizationURL, String clientId, String clientSecret, List<String> scopes, Boolean isEnabled)
OAuth2ServiceProvider
addProvider(String serviceName, String description, String tokenServerURL, String authorizationServerURL, String clientId, String clientSecret, List<String> scopes)
void
deleteProvider(String serviceName)
OAuth2ServiceProvider
getProvider(String serviceName)
List<OAuth2ServiceProvider>
getProviders()
OAuth2ServiceProvider
updateProvider(String serviceName, OAuth2ServiceProvider provider)
-
-
-
Method Detail
-
getProvider
OAuth2ServiceProvider getProvider(String serviceName)
-
getProviders
List<OAuth2ServiceProvider> getProviders()
-
addProvider
OAuth2ServiceProvider addProvider(String serviceName, String description, String tokenServerURL, String authorizationServerURL, String clientId, String clientSecret, List<String> scopes)
-
addProvider
OAuth2ServiceProvider addProvider(String serviceName, String description, String tokenServerURL, String authorizationServerURL, String userAuthorizationURL, String clientId, String clientSecret, List<String> scopes, Boolean isEnabled)
-
updateProvider
OAuth2ServiceProvider updateProvider(String serviceName, OAuth2ServiceProvider provider)
- Since:
- 9.2
-
deleteProvider
void deleteProvider(String serviceName)
- Since:
- 9.2
-
-