|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.brickred.socialauth.util.OAuthConfig
public class OAuthConfig
It contains the configuration of application like consumer key and consumer secret
| Constructor Summary | |
|---|---|
OAuthConfig(String consumerKey,
String consumerSecret)
|
|
OAuthConfig(String consumerKey,
String consumerSecret,
String signatureMethod,
String transportName)
|
|
| Method Summary | |
|---|---|
String |
get_consumerKey()
Retrieves the consumer key |
String |
get_consumerSecret()
Retrieves the consumer secret |
String |
get_signatureMethod()
Retrieves the signature method |
String |
get_transportName()
Retrieves the transport name |
String |
getAccessTokenUrl()
Retrieves the access token url |
String |
getAuthenticationUrl()
Retrieves the authentication url |
String |
getCustomPermissions()
Retrieves custom permissions configured in properties file |
String |
getId()
Retrieves the provider id |
List<String> |
getPluginsScopes()
Retrieves the list of plugins scopes |
Class<?> |
getProviderImplClass()
Retrieves the provider implementation class |
String[] |
getRegisteredPlugins()
Retrieves the registered plugins of a provider configured in properties file. |
String |
getRequestTokenUrl()
Retrieves the request token url |
void |
setAccessTokenUrl(String accessTokenUrl)
Updates the access token url |
void |
setAuthenticationUrl(String authenticationUrl)
Updates the authentication url |
void |
setCustomPermissions(String customPermissions)
Updates custom permissions configured in properties file |
void |
setId(String id)
Updates the provider id |
void |
setPluginsScopes(List<String> pluginsScopes)
Updates the plugins scopes |
void |
setProviderImplClass(Class<?> providerImplClass)
Updates the provider implementation class |
void |
setRegisteredPlugins(String[] registeredPlugins)
Updates the registered plugins configured in properties file |
void |
setRequestTokenUrl(String requestTokenUrl)
Updates the request token url |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthConfig(String consumerKey,
String consumerSecret,
String signatureMethod,
String transportName)
consumerKey - Application consumer keyconsumerSecret - Application consumer secretsignatureMethod - Signature Method typetransportName - Transport name
public OAuthConfig(String consumerKey,
String consumerSecret)
| Method Detail |
|---|
public String get_consumerKey()
public String get_consumerSecret()
public String get_signatureMethod()
public String get_transportName()
public String getId()
public void setId(String id)
id - the provider idpublic Class<?> getProviderImplClass()
public void setProviderImplClass(Class<?> providerImplClass)
providerImplClass - the provider implementation classpublic String getCustomPermissions()
public void setCustomPermissions(String customPermissions)
customPermissions - String of comma seperated custom permissionspublic String getAuthenticationUrl()
public void setAuthenticationUrl(String authenticationUrl)
authenticationUrl - the authentication url stringpublic String getAccessTokenUrl()
public void setAccessTokenUrl(String accessTokenUrl)
accessTokenUrl - the access token url stringpublic String getRequestTokenUrl()
public void setRequestTokenUrl(String requestTokenUrl)
requestTokenUrl - the request token url stringpublic String[] getRegisteredPlugins()
public void setRegisteredPlugins(String[] registeredPlugins)
registeredPlugins - String array of plugins. String should contain fully qualified
plugin class namepublic List<String> getPluginsScopes()
public void setPluginsScopes(List<String> pluginsScopes)
pluginsScopes - list of plugins scopespublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||