org.jboss.seam.social
Class OAuthServiceSettingsImpl
java.lang.Object
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
OAuthServiceSettingsImpl
@Inject
public OAuthServiceSettingsImpl(InjectionPoint ip,
SeamSocialExtension config)
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.