public interface OAuthServiceProviderRegistry
Typically, this service is used by Shindig to determine what what shared secret should be used by gadgets to fetch their data.
Modifier and Type | Method and Description |
---|---|
NuxeoOAuthServiceProvider |
addReadOnlyProvider(String gadgetUri,
String serviceName,
String consumerKey,
String consumerSecret,
String publicKey)
This method is here for compatibility reasons.
|
void |
deleteProvider(String providerId)
Deletes a provider.
|
void |
deleteProvider(String gadgetUri,
String serviceName)
Deletes a provider.
|
NuxeoOAuthServiceProvider |
getProvider(String gadgetUri,
String serviceName)
Select the best provider given.
|
List<NuxeoOAuthServiceProvider> |
listProviders()
Return the list of all know providers (both readonly and editable ones).
|
NuxeoOAuthServiceProvider getProvider(String gadgetUri, String serviceName)
gadgetUri
- the gadget url (or AppId)serviceName
- the service name as defined in MakeRequestNuxeoOAuthServiceProvider addReadOnlyProvider(String gadgetUri, String serviceName, String consumerKey, String consumerSecret, String publicKey)
void deleteProvider(String gadgetUri, String serviceName)
void deleteProvider(String providerId)
List<NuxeoOAuthServiceProvider> listProviders()
Copyright © 2016 Nuxeo SA. All rights reserved.