added convenience methods for the builder api
This commit is contained in:
1 parent
193dcd2e25
commit
8abdde928a
4 files changed
+35
-3
No files matched your search
@@ -16,12 +16,19 @@ public class OAuthConfig
|
||||
{
|
||||
this(key,secret,null);
|
||||
}
|
||||
|
||||
|
||||
//Kept for backwards compatibility
|
||||
public OAuthConfig(String key, String secret, String callback)
|
||||
{
|
||||
this(key,secret,callback,null);
|
||||
}
|
||||
|
||||
public OAuthConfig(String key, String secret, String callback, SignatureType type)
|
||||
{
|
||||
this.apiKey = key;
|
||||
this.apiSecret = secret;
|
||||
this.callback = callback;
|
||||
this.signatureType = type;
|
||||
}
|
||||
|
||||
public String getApiKey()
|
||||
|
||||
Reference in new issue
Block a user