Used OAuthConfig when possible instead of bunch of Strings
This commit is contained in:
1 parent
8f0760664f
commit
8eb2062e95
5 files changed
+21
-22
No files matched your search
@@ -10,6 +10,18 @@ public class OAuthConfig
|
||||
private String apiKey;
|
||||
private String apiSecret;
|
||||
private String callback;
|
||||
|
||||
public OAuthConfig(String key, String secret)
|
||||
{
|
||||
this(key,secret,null);
|
||||
}
|
||||
|
||||
public OAuthConfig(String key, String secret, String callback)
|
||||
{
|
||||
this.apiKey = key;
|
||||
this.apiSecret = secret;
|
||||
this.callback = callback;
|
||||
}
|
||||
|
||||
public String getApiKey()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user