org.jboss.seam.social
Class OAuthServiceSettingsImpl

java.lang.Object
  extended by org.jboss.seam.social.OAuthServiceSettingsImpl
All Implemented Interfaces:
Serializable, OAuthServiceSettings

public class OAuthServiceSettingsImpl
extends Object
implements OAuthServiceSettings

Author:
Antoine Sabot-Durand
See Also:
Serialized Form

Constructor Summary
OAuthServiceSettingsImpl(InjectionPoint ip, SeamSocialExtension config)
           
 
Method Summary
 String getApiKey()
           
 String getApiSecret()
           
 String getCallback()
           
 String getScope()
           
 String getServiceName()
           
 void setApiKey(String apiKey)
           
 void setApiSecret(String apiSecret)
           
 void setCallback(String callback)
           
 void setScope(String scope)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OAuthServiceSettingsImpl

@Inject
public OAuthServiceSettingsImpl(InjectionPoint ip,
                                       SeamSocialExtension config)
Method Detail

getApiKey

public String getApiKey()
Specified by:
getApiKey in interface OAuthServiceSettings
Returns:
the key consumer key for the OAuth service

setApiKey

public void setApiKey(String apiKey)
Specified by:
setApiKey in interface OAuthServiceSettings
Parameters:
apiKey - consumer key for this OAuth service

getApiSecret

public String getApiSecret()
Specified by:
getApiSecret in interface OAuthServiceSettings
Returns:
the consumer secret key for the OAuth service

setApiSecret

public void setApiSecret(String apiSecret)
Specified by:
setApiSecret in interface OAuthServiceSettings
Parameters:
apiSecret - consumer secret for this OAuth service

getCallback

public String getCallback()
Specified by:
getCallback in interface OAuthServiceSettings
Returns:
the call back URL for the OAuth service

setCallback

public void setCallback(String callback)
Specified by:
setCallback in interface OAuthServiceSettings
Parameters:
callback - call back URL registered for this OAuth service

setScope

public void setScope(String scope)
Specified by:
setScope in interface OAuthServiceSettings
Parameters:
scope - scope requested for this OAuth 2.0 service

getScope

public String getScope()
Specified by:
getScope in interface OAuthServiceSettings
Returns:
the scope requested

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface OAuthServiceSettings
Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Seam Framework. All Rights Reserved.