|
||||||||||
| 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,
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 |
static OAuthConfig |
load(Properties props,
String domain)
It loads the configuration information from given properties for the given domain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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| Method Detail |
|---|
public static OAuthConfig load(Properties props,
String domain)
props - Properties which contains the information of application
property file.domain - Domain for which configuration needs to be loaded.
public String get_consumerKey()
public String get_consumerSecret()
public String get_signatureMethod()
public String get_transportName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||