org.apache.shindig.gadgets.oauth
Class OAuthStore.ConsumerInfo

java.lang.Object
  extended by org.apache.shindig.gadgets.oauth.OAuthStore.ConsumerInfo
Enclosing interface:
OAuthStore

public static class OAuthStore.ConsumerInfo
extends Object

Information about an OAuth consumer.


Constructor Summary
OAuthStore.ConsumerInfo(net.oauth.OAuthConsumer consumer, String keyName, String callbackUrl)
           
 
Method Summary
 String getCallbackUrl()
           
 net.oauth.OAuthConsumer getConsumer()
           
 String getKeyName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthStore.ConsumerInfo

public OAuthStore.ConsumerInfo(net.oauth.OAuthConsumer consumer,
                               String keyName,
                               String callbackUrl)
Parameters:
consumer - the OAuth consumer
keyName - the name of the key to use for this consumer (passed on query parameters to help with key rotation.)
callbackUrl - callback URL associated with this consumer, likely to point to the shindig server.
Method Detail

getConsumer

public net.oauth.OAuthConsumer getConsumer()

getKeyName

public String getKeyName()

getCallbackUrl

public String getCallbackUrl()


Copyright © 2007-2012. All Rights Reserved.