public class OAuth2ServiceProviderRegistryImpl extends DefaultComponent implements OAuth2ServiceProviderRegistry
Modifier and Type | Field and Description |
---|---|
static String |
DIRECTORY_NAME |
Constructor and Description |
---|
OAuth2ServiceProviderRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
NuxeoOAuth2ServiceProvider |
addProvider(String serviceName,
String tokenServerURL,
String authorizationServerURL,
String clientId,
String clientSecret,
List<String> scopes) |
NuxeoOAuth2ServiceProvider |
getProvider(String serviceName) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtension
public static final String DIRECTORY_NAME
public NuxeoOAuth2ServiceProvider getProvider(String serviceName)
getProvider
in interface OAuth2ServiceProviderRegistry
public NuxeoOAuth2ServiceProvider addProvider(String serviceName, String tokenServerURL, String authorizationServerURL, String clientId, String clientSecret, List<String> scopes)
addProvider
in interface OAuth2ServiceProviderRegistry
Copyright © 2015 Nuxeo SA. All rights reserved.