org.jboss.seam.social.oauth
Interface OAuthServiceSettings
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- OAuthServiceSettingsImpl
public interface OAuthServiceSettings
- extends Serializable
Interface for model containing settings needed to access to an OAuth 1.0a service It's used by OAuthService
to setup
connection to OAuth Service
- Author:
- Antoine Sabot-Durand
- See Also:
OAuthService
getApiKey
String getApiKey()
- Returns:
- the key consumer key for the OAuth service
getApiSecret
String getApiSecret()
- Returns:
- the consumer secret key for the OAuth service
getCallback
String getCallback()
- Returns:
- the call back URL for the OAuth service
setCallback
void setCallback(String callback)
- Parameters:
callback
- call back URL registered for this OAuth service
setApiSecret
void setApiSecret(String apiSecret)
- Parameters:
apiSecret
- consumer secret for this OAuth service
setApiKey
void setApiKey(String apiKey)
- Parameters:
apiKey
- consumer key for this OAuth service
setScope
void setScope(String scope)
- Parameters:
scope
- scope requested for this OAuth 2.0 service
getScope
String getScope()
- Returns:
- the scope requested
getServiceName
String getServiceName()
- Returns:
Copyright © 2011 Seam Framework. All Rights Reserved.