org.exoplatform.social.opensocial.oauth
Class ServiceProviderStore

java.lang.Object
  extended by org.exoplatform.social.opensocial.oauth.ServiceProviderStore

public class ServiceProviderStore
extends Object

Simple store for OAuth providers data.

Version:
$Revision$
Author:
Patrice Lamarque

Field Summary
static String CALLBACK_URL
           
static String CONSUMER_KEY
           
static String SHARED_SECRET
           
 
Constructor Summary
ServiceProviderStore(org.exoplatform.container.xml.InitParams params)
           
 
Method Summary
 ServiceProviderData getServiceProvider(String consumerKey)
          Get the provider for a given consumer key
 void setProviders(Map<String,ServiceProviderData> providers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHARED_SECRET

public static final String SHARED_SECRET
See Also:
Constant Field Values

CONSUMER_KEY

public static final String CONSUMER_KEY
See Also:
Constant Field Values

CALLBACK_URL

public static final String CALLBACK_URL
See Also:
Constant Field Values
Constructor Detail

ServiceProviderStore

public ServiceProviderStore(org.exoplatform.container.xml.InitParams params)
Method Detail

getServiceProvider

public ServiceProviderData getServiceProvider(String consumerKey)
Get the provider for a given consumer key

Parameters:
consumerKey -
Returns:

setProviders

public void setProviders(Map<String,ServiceProviderData> providers)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.